Re: HTML Mail.app
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 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