Sending Complex HTML emails with MAIL

Hi,
Does anyone have a script to send complex html emails with Mail?

I have a script that works with Outlook. Could someone guide me in how to change it to work with MAIL. (I don't know anything about writing scripts.)

Martha

Posted on Nov 6, 2004 12:40 PM

Reply
48 replies

Jan 27, 2005 10:50 AM in response to Tom_X

Thanks Mr. X!
That's great!
The problem we are experiencing is, when we tried the script and used CNN's home page as a test, everything looked great in Outlook on the window users PC. It actually looked better than the actual website. But when we tried to click on the links, Outlook for PC wanted us to "Locate Link Browser". What ever that means?!?

None of the links worked to the underlined text. The links to the images worked. But nothing else. What do you think is happening?!?

Thanks!
mm

Jan 27, 2005 3:34 PM in response to Marc Monaro

<TABLE BORDER="1" CELLPADDING="8" CELLSPACING="0" BGCOLOR="#EEEEEE"> <TR> <TD VALIGN="TOP"> Hello mm,

I am afraid that you have missed the intent of the AppleScript.
The script is written so that a person can construct their own HTML page in the correct fashion so that it can then be sent as an HTML email.
Above I outlined some of the do's and don'ts for Linda Chiu.
I am actually surprised that your test with the CNN site rendered correctly in any email client.
Here is a link that may help you in using the AppleScript.
Adobe GoLive & HTML Email

Tom
</TD> </TR> </TABLE>

Mar 3, 2005 7:29 AM in response to Martha

I'm not entirely sure if this is the right place to post this inane query. working through the process outlined for sending complex emails, I've run up against a problem of naming the images with the complete URL: OSX won't allow me use :s and /s within the name.
I'm sure there's a really simple answer...
I've downloaded the script that seems to work well but just need to get this problem sorted out
Thanks
Bruce

Mar 3, 2005 8:18 AM in response to Bruce black1

I can't answer to your question, but for your information OSX does allow to use ":s" or "/s" in the name of the file. Specifically: you can enter a "/" in the Mac-path of a file (for instance, in Finder, or in a colon-separated path in AppleScript.) The underlying UNIX system will convert that "/" into ":" - a casual character for UNIX. You cannot enter a ":" in a Mac-path, like you cannot enter a "/" in a UNIX path.

Look:
tell application "Finder" to set x to selection as alias
-- alias "emmanuel's hd30:Users:emmanuel:Desktop:test/file"

POSIX path of x
-- "/Users/emmanuel/Desktop/test:file"

Emmanuel

Mar 9, 2005 1:15 PM in response to Martha

Thanks to Andreas for posting this script. I switched from Netscape Communicator to Mail and this was the primary feature missing for me. I send out a newsletter which I compose in Dramweaver and host on a server. But, I was unable to directly past the newsletter into a mail message.

Once I found your script I was able to get this running in minutes, even though I had never used AppleScript before.

This message board was a fantastic help!!!!!

Mar 16, 2005 11:01 AM in response to Andreas Amann

Sorry for a question about such an old thread. But...

I am having a bit of trouble with the script. When run it it will immediately tell me to enter the recipients before running the script. Well. I have done that. I created a new e-mail in Mail. I added recipients in 'To' and in 'CC'. But it still asks me to enter recipients.

What is odd is that it worked fine the first time I used it and quit immediately afterward.

Any insight would be greatly appreciated.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sending Complex HTML emails with MAIL

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.