On Jan 6, 2007, at 8:50 AM, Emmanuel wrote:

> At 8:39 AM -0800 1/6/07, kee nethery wrote:
>> Does anyone have any example scripts that send attachments using  
>> the XMail osax (lestang.org)? In specific I'm interested in using  
>> the form of
>>
>> send mail to [log in to unmask] from [log in to unmask] subject "Testing  
>> Juan Tooth Free" body "Yo Yo Yo" SMTP server bleepo.kagi.com  
>> attachments ....
>
> (of course IRL you would bracket bleepo.kagi.com with double quotes)
>
>> and that is where it does not work for me. I have no examples of  
>> what would be "[attachments a list of file]"
>
> Did you try to provide an argument such as:
>
> attachments {file "Macintosh HD:Users:kee:Desktop:somefile.zip",  
> file "Macintosh HD:Users:kee:Desktop:someotherfile.zip"}

yes, just now (that was not a form that I had tried previously)

send mail to "[log in to unmask]" from "[log in to unmask]" subject "test  
12" body "test 12" SMTP server "smtpoutgoing.kagi.com" port 25  
attachment {file "Users:keenethery:Desktop:besler cameras"}

the result is "compiler error"


The script I am using within runtime revolution is:

     do theAScript as AppleScript
     -- the result either is the email message or some error
     put the result into field "sentMessage"

where "theAScript" is the "send mail to ..." line shown above.

Thanks for the suggestion. Bummer it did not work.

Kee


>
> Emmanuel