Generating HTML emails with Eudora
Generating HTML emails with Eudora
- Subject: Generating HTML emails with Eudora
- From: David Crowe <email@hidden>
- Date: Mon, 26 Aug 2002 17:17:37 -0600
I am using the following script to test the generation of raw html
emails using Eudora.
It works, but not very reliably, because you have to change a global
setting to switch over to raw html mode. Consequently, you can't
queue a mixture of emails, which means that you can't queue an html
email when others are already queued (hence the 'connect with
sending' at the beginning, to try to flush out pending emails before
switching the setting). This means that you can't queue an html email
when you aren't connected to the internet.
This makes the technique rather unreliable. It would be much better
to be able to put something inside an email to identify that one
email as plain html.
Does anyone have any ideas regarding this?
tell application "Eudora"
connect with sending
set setting 9014 to "html"
set NewMsgRef to make new message at end of mailbox "Out"
tell NewMsgRef
set subject to "Testing"
set body to "<HTML>
<HEAD></HEAD>
<BODY>
<font size=5>
<P>
A message in large type.
</P>
<P>
Doug
</P>
</font>
</BODY>
</HTML>"
set field "To" to "email@hidden"
try
queue
connect with sending
end try
end tell
set setting 9014 to "plain"
end tell
- David Crowe
_______________________________________________
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.