• 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: Launching Default Mail Client Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching Default Mail Client Questions


  • Subject: Re: Launching Default Mail Client Questions
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 11 Sep 2008 13:53:57 -0700

On Sep 11, 2008, at 1:41 PM, J. Todd Slack wrote:

Would Mail and ENtourage use the same commands to create a new mail message, specify a recipient, attach a file, etc?


No.  They're very different.

You might want to investigate mail-related OSAXen, such as XMail. Here is part of the library:

send mail v : send mail
send mail
to text : the recipients of the mail
from text : the author of the mail
subject text : the subject of the mail
body text : the body of the mail
SMTP server text : the smtp server to send the mail (smtp.foobar.com),default is 'localhost'
[cc list of text] : the list of cc recipients of the mail {cc1,cc2,…}
[bcc list of text] : the list of bcc recipients of the mail {bcc1,bcc2, …}
[attachments list of file] : the list of attachments for the mail {file1,file2,…}
[priority integer] : 1=highest, 2=hight, 3=normal(default), 4=low, 5=lowest
[extra headers list of any] : {{header 1,value 1},…,{header n,value n}}
[reply to text] : Where to send a reply to this message
[errors to text] : Where to send all the errors messages
[port integer] : the port on which runs the SMTP server (25 is the default)
[timeout integer] : abort after how many seconds ? (default is 60 seconds)
[using datestamp date] : you might wish to have control over the sent date (either a string or an applescript date).
[ssl boolean] : wether you want to use SSL encryption
[ssl verification verify none/verify peer] : what kind of SSL verification to do with your certificates
[pem certificate file file] : where is your PEM certificate, should be left blank if using 'verify none'
[pem certificate directory file] : where is your directory containing PEM certificate, should be left blank if using 'verify none'
[authentication plain/login/pop3/crammd5/cramsha1/anonymous/auto] : the type of authentication mechanism to use
[username text] : your login if the server require an authentication
[password text] : your password if the server require an authentication
[output boolean] : wether you want the mail bo be returned ty the 'send mail' (default is true)
[sending boolean] : wether you want the mail bo be sent or not (default is true)
[saving in file] : wether you want to save the mail sent.


Of course, you would have to make sure each computer using the script has this OSAX.

-- Michelle

--
Please contribute to the Leukemia and Lymphoma Society, and help me meet my fund raising goal for my marathon training.
<http://www.active.com/donate/tntdms/tntdmsMSteine>





_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Launching Default Mail Client Questions
      • From: "J. Todd Slack" <email@hidden>
References: 
 >Launching Default Mail Client Questions (From: "J. Todd Slack" <email@hidden>)

  • Prev by Date: Launching Default Mail Client Questions
  • Next by Date: Re: Launching Default Mail Client Questions
  • Previous by thread: Launching Default Mail Client Questions
  • Next by thread: Re: Launching Default Mail Client Questions
  • Index(es):
    • Date
    • Thread