Entourage HTML email rendering

S

spgoogle

Hello

We send out a lot of HTML emails, and are having a lot or problems with
various versions of Mac OS X Entourage displaying the HTML
incorrectly, whereas Apple Mail displays them perfectly.

Does Entourage use the deceased Internet Explorer for Mac to view its
HTML rather than Apple's webcore rendering engine? If so, this would
explain the poor results. Does anyone know what is likely to happen in
future versions of Entourage, as Mac IE is no longer being developed?
It would be great if they would move to webcore.

Any help would be much appreciated

Regards

Jon
 
M

Mickey Stevens

Entourage uses an upgraded version of Tasman, the rendering engine used in
Internet Explorer, to display complex HTML. I believe it's the same
rendering engine used by the MSN web browser for Mac OS X. To my knowledge,
Microsoft hasn't announced any future plans as to whether they intend to
upgrade the rendering engine or move to another rendering engine.

Make sure that you have the option to "Display complex HTML in messages"
turned on in Preferences.

You can use this script by Allen Watson to show HTML messages in the Safari
web browser.

-- Start copying
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
try
if has html of theMsg is true then
set pts to item 1 of (get parts of theMsg)
set pts to parts of pts
repeat with i from 1 to (count pts)
set aPart to item i of pts
set theType to type of aPart
set theSubtype to subtype of aPart
if theType is "text" and theSubtype is "html" then
set theHTML to content of aPart
exit repeat
end if
end repeat
set tempfile to open for access "tempHTML2.html" with write
permission
write theHTML to tempfile
close access tempfile
set theFile to "tempHTML2.html"
else
display dialog "Selected message seems to have no HTML to open."
return
end if
on error theErr
display dialog theErr
return
end try
end tell
set theDisk to path to startup disk as string
set theFile to theDisk & theFile
-- Give the file the creator type of the default browser
tell application "Finder"
set f to alias theFile

set ft to "TEXT"

set file type of f to ft
end tell
try
set thePath to POSIX path of theFile
set theDisk to text 1 thru -2 of theDisk -- remove delimiter
set theURL to "file://" & theDisk & thePath
tell application "Safari"
activate
open location (theURL)
end tell
on error theErr
display dialog theErr
end try
delay 5
tell application "Finder" to delete theFile
try
tell application "Finder" to empty trash
on error
display dialog "Remember to empty the trash."
end try
-- Stop copying

Copy that into Script Editor (/Applications/AppleScript/Script Editor/).
Save it as "Open HTML in Browser" to /Users/<Your User>/Documents/Microsoft
User Data/Entourage Script Menu Items/. Then, when you have an HTML message
in Entourage that you want to see in Safari, select the message, click the
Script menu (to the right of the "Help" menu), and select "Open HTML in
Browser" from the menu.

Hope this helps!
 
Top