• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need Help with Mail...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need Help with Mail...


  • Subject: Need Help with Mail...
  • From: Bernardo Hoehl <email@hidden>
  • Date: Thu, 24 Feb 2005 08:57:05 -0300

Hi List!


This is my script:


set theSubject to "The subject text"
set theBody to "The text of the message"
set theDestinationEmail to "email@hidden"
tell application "Mail"
set the new_message to ¬
(make new outgoing message with properties ¬
{true, theSubject, sender:"email@hidden", theBody & return})
tell the new_message
make new to recipient at end of to recipients with properties {theDestinationEmail}
tell content
make new attachment with properties {file name:alias "
Sistema Vendas:Fotos:bernardo.jpg"} at after the last character
end tell
end tell
end tell


Problem:

I want this message to be sent right away withou having to go to Mail.app and hit the send button.

But I try the send message frase that is Mail.app dictionary's and it doesn't work. The message stays there waiting me to hit the send button.

Can someone add a frase to my script that will make it send the email right away?

Thank you,

Bernardo Höhl

Rio de Janeiro - Brazil
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Need Help with Mail...
      • From: Jean-Marie <email@hidden>
    • Re: Need Help with Mail...
      • From: wayne melrose <email@hidden>
  • Prev by Date: Tell application
  • Next by Date: Re: Need Help with Mail...
  • Previous by thread: Tell application
  • Next by thread: Re: Need Help with Mail...
  • Index(es):
    • Date
    • Thread