• 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: HTML Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML Mail.app


  • Subject: Re: HTML Mail.app
  • From: Brian Christmas <email@hidden>
  • Date: Fri, 26 Aug 2011 21:52:21 +1000

Wayne, this worked fine for me. Note you can set the content of the message after your creation of the message header. No hidden bits.

Santa

set strSubject to "test"
set strRecipientEmail to "email@hidden"
set strHTML to "<html><body><strong>This is a test</strong><p>and so is this</p></body></html>"

tell application "Mail"
set objNewMessage to make new outgoing message with properties {subject:strSubject, html content:"", visible:true}
tell objNewMessage
set html content to strHTML
make new to recipient at end of to recipients with properties {address:strRecipientEmail}
send
end tell
end tell



On 26/08/2011, at 9:24 PM, wayne melrose wrote:


On Aug 26, 2011, at 1:22 PM, Brian Christmas wrote:

G'day Wayne

I've found that under Lion, if you create a mail message whose visible is false, the message does not get sent.

You have to stipulate visible true to allow the message to wing on it's way.

Feedback lodged as a bug.

Regards

Santa



Ahh OK.. but regardless, what seems to be happening is that a HTML content email does not show as visible even when specified as visible:true



 _______________________________________________
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: HTML Mail.app
      • From: wayne melrose <email@hidden>
References: 
 >HTML Mail.app (From: wayne melrose <email@hidden>)
 >Re: HTML Mail.app (From: wayne melrose <email@hidden>)
 >Re: HTML Mail.app (From: Brian Christmas <email@hidden>)
 >Re: HTML Mail.app (From: wayne melrose <email@hidden>)

  • Prev by Date: Re: HTML Mail.app
  • Next by Date: Re: HTML Mail.app
  • Previous by thread: Re: HTML Mail.app
  • Next by thread: Re: HTML Mail.app
  • Index(es):
    • Date
    • Thread