• 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: Entourage HTML Email: Tables and Graphics?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage HTML Email: Tables and Graphics?


  • Subject: Re: Entourage HTML Email: Tables and Graphics?
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 20 Jul 2003 11:09:37 -0700

Entourage can't make "complex" HTML messages with tables and graphics. When
it _reads_ those, it uses Internet Explorer's HTML rendering engine - you're
actually looking at a web-page from IE displayed in the Entourage window.
You'll have noticed that you can't send anything but styled text in HTML in
the UI.

However, there is a trick for sending full HTML documents, as long as you
have uploaded any graphics (or the whole document) to a web server, and use
full "absolute" URLs, not relative URLs, throughout.

See my "Send Complex HTML X" script at

MacScripter.net <http://scriptbuilders.net/>

It's open-source. You might want to adjust something. It can't open a draft
window or the trick is lost and you lose the HTML. It sends the message
without opening it.

--
Paul Berkowitz



> From: Jason Bourque <email@hidden>
> Date: Sun, 20 Jul 2003 13:28:51 -0400
> To: AS <email@hidden>
> Subject: Entourage HTML Email: Tables and Graphics?
>
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Entourage HTML Email: Tables and Graphics?
      • From: Jason Bourque <email@hidden>
References: 
 >Entourage HTML Email: Tables and Graphics? (From: Jason Bourque <email@hidden>)

  • Prev by Date: unread mail
  • Next by Date: Re: Entourage HTML Email: Tables and Graphics?
  • Previous by thread: Entourage HTML Email: Tables and Graphics?
  • Next by thread: Re: Entourage HTML Email: Tables and Graphics?
  • Index(es):
    • Date
    • Thread