Re: AppleScript-Users Digest, Vol 6, Issue 467
Re: AppleScript-Users Digest, Vol 6, Issue 467
- Subject: Re: AppleScript-Users Digest, Vol 6, Issue 467
- From: Adam Morris <email@hidden>
- Date: Fri, 18 Sep 2009 18:36:01 +0700
set html content to "<html><head><title>" & theSubject &
"</title></head><body>" & "<i>Ceci est un message automatique.</i>" &
theSource & "</b><br><br>Retrouvez votre planning personnel sur le
web: " &
thelink & "<br><br></body></html>"
Where do you get "html content" from; not in the dictionary, nor does
it seem to work. And anyway the html protocol is a far more
complicated thing than it seems.
The default behavior is that mail tries to warn the user that you're
sending a mail with no content nor any subject. Since set html
content" doesn't work, your email has no content, maybe you've somehow
suppressed the default error message (via preferences?) and that's why
it's not sending?
How more frustrating can it get to notice that Entourage has better AS
response than Mail ?
If I were to write a book about Applescripting Mail, it would probably
contain more paragraphs about what it can't do than what it can. No,
Mr User Sir, do NOT assume that you can, say, assign a rule to send an
email in reply. At least not easily.
A workaround for sending html mail is to use Signature Profiler, http://www.littleknownsoftware.com/sigpro/
, but we're all eagerly awaiting the Snow Leopard update.
(Or maybe someone will write a better, more scriptable, Mail version
with AppleScriptObjC...)
_______________________________________________
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