Entourage HTML Email: Tables and Graphics?
Entourage HTML Email: Tables and Graphics?
- Subject: Entourage HTML Email: Tables and Graphics?
- From: Jason Bourque <email@hidden>
- Date: Sun, 20 Jul 2003 13:28:51 -0400
Hello,
I have a script below that creates an email in Entourage. The text looks
formatted but doesn't contain the tables or the placed graphics.
The same file that I am reading to make the body of the email looks fine in
a browser.
The account has a set up header of context-type text/html
Am I missing something? A header or something?
set vMsgContent to "<html>
<head>
<meta http-equiv=\"content-type\"
content=\"text/html;charset=ISO-8859-1\">
<meta name=\"generator\" content=\"Adobe GoLive 6\">
<title>This is a Titlebar</title>
</head>
<body bgcolor=\"#ffffff\">
<table width=\"500\" border=\"0\" cellspacing=\"2\"
cellpadding=\"0\" align=\"center\">
<tr height=\"21\">
<div align=\"left\">
<font size=\"2\"
face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\"><b>Dear
CustomerName,</b></font>
<p></p>
</div> </tr>
</table>
</body>
</html>"
set vRecipient to "email@hidden"
set vMsgSubject to "This is a subject"
tell application "Microsoft Entourage"
activate
set vAccount to POP account named "Specials"
-- return result
set vNewMsg to make new draft window with properties ,
{recipient:vRecipient, subject:vMsgSubject, account:vAccount,
content:vMsgContent, has html:true}
-- send vNewMsg
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.