Need Help with Mail...
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