使用applescript创建并发送电子邮件

【使用applescript创建并发送电子邮件】天下之事常成于困约,而败于奢靡。这篇文章主要讲述使用applescript创建并发送电子邮件相关的知识,希望能为你提供帮助。

  1. tell application " Mail"
  2. set theNewMessage to make new outgoing message with properties { subject:" Subject text" , content:" Content text" , visible:true}
  3. tell theNewMessage
  4. make new to recipient at end of to recipients with properties { address:" email address" }
  5. send
  6. end tell
  7. end tell


    推荐阅读