• 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
Re: how to make 'mail' send
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >how to make 'mail' send (From: mitchell mark <email@hidden>)

  • Prev by Date: Re: Perl syntax
  • Next by Date: Re: What happened to delimiters?
  • Previous by thread: how to make 'mail' send
  • Next by thread: how to make 'mail' send
  • Index(es):
    • Date
    • Thread