MACSCRPT Archives

January 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v752.2)
Content-Type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Date:
Sat, 6 Jan 2007 09:07:17 -0800
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
kee nethery <[log in to unmask]>
In-Reply-To:
<p06230903c1c5831a28b5@[192.168.2.2]>
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (46 lines)
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

ATOM RSS1 RSS2