Title: Re: How to script email sending
on 12/7/04 12:34 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote:

> OK. How far have you got on your own? What code have you come up with so
> far?

I ended up with this, which is perhaps better since I would not ever use a real signature in E-rage, so hard coded is cleaner, suggestions appreciated:

set theBody to "I have added a new image to my photoblog, please take a look:" & return & "----> <http://www.photoxicated.com/>" & return & return & "--" & return & ":: p h o t o x i c a t e d . c o m ::" & return & "Scott Haneda" & return & "<[EMAIL PROTECTED]>"

tell application "Microsoft Entourage"
    set MyMessage to make new draft window with properties ¬
        {recipient:"photoxicated.com", subject:":: p h o t o x i c a t e d .c o m :: photoblog update", content:theBody}
end tell

Also, what is the best way to add real returns to the long theBody string and not get leading spaces when it is inserted?
--
-------------------------------------------------------------
Scott Haneda                                Tel: 415.898.2602
<http://www.newgeo.com>                     Fax: 313.557.5052
<[EMAIL PROTECTED]>                          Novato, CA U.S.A.

Reply via email to