Re: how to make 'mail' send
Re: how to make 'mail' send
- Subject: Re: how to make 'mail' send
- From: Michelle Steiner <email@hidden>
- Date: Sat, 14 Jun 2003 07:55:34 -0700
On Saturday, June 14, 2003, at 03:29 AM, mitchell mark wrote:
I'm a comparative newby to applescript, but using another program
(metacard/revolution) I can compose and create an email easily, but I
need a script for SENDING the message that has been created. "tell
application mail to send" doesn't seem to work as I apparently lack a
reference to a specific e-mail?
Yes, you have to tell it to send a specific message or messages.
You can try these (untested)
tell application "mail"
send outgoing messages
end tell
tell application "mail"
send outgoing message 1
end tell
tell application "mail"
tell mail viewer 1
send outgoing messages
end tell
end tell
tell application "mail"
tell mail viewer 1
send outgoing message 1
end tell
end tell
Also, does metacard return a reference to the message when it creates
it? If so, you can use that when telling mail.app which message to
send.
Hope at least one of the above helps.
--Michelle
--
You can not change the world without perforce changing yourself.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.