Re: HTML Mail.app
Re: HTML Mail.app
- Subject: Re: HTML Mail.app
- From: wayne melrose <email@hidden>
- Date: Fri, 26 Aug 2011 13:54:50 +0200
On Aug 26, 2011, at 1:52 PM, Brian Christmas wrote: 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 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
yeah it's working for me too, it's just that it was not making the message visible. I'm not at all worried about that though as the use itsn't really meant to see it anyway.
Thanks |
_______________________________________________
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