MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Subject:
From:
Emmanuel LEVY <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 28 Mar 2013 17:14:11 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
I don't know if it would help, but just in case I recall that there is an osax around (founded by JB Le Stang and finalized by us Satimage-software) to send e-mails.

Emmanuel

On Mar 28, 2013, at 4:02 PM, Bill Steele wrote:

> On Mar 28, 2013, at 4:05 AM, Christopher Stone <[log in to unmask]> wrote:
>> 7 » 2.66 GHz
>> Ram: 4 GB
>> 
>>> The dialog that does up to select a server says "Always use this server" but ayer selecting it the next message will still claim it doesn't know what server to use. Make new message works fine
>> 
>> You want to send me your exact script?  I can try it here and see if I have the same problem.
> 
> Slightly simple;ivied version:
> 
> set rText to "Here's the message"
> tell application "Mail"
> 	set theSelection to selection
> 	set theMessage to item 1 of theSelection
> 	set sendItOn to redirect theMessage with opening window
> 	tell sendItOn
> 			make new to recipient at beginning of to recipients ¬
> 				with properties {address:"[log in to unmask]"}
> 			set content to rText -- somehow this works without losing the original content
> 			send
> 	end tell
> end tell
> 
> 
> And now for something completely different.
> 
> Up comes the message with the dialog asking me to pick an outgoing server. I do that and it sends. And then it instantly creates a new message, identical except that it has no to recipient. I have to click "Edit message" and close it without saving. 
> 
> None of this is saving me time like scripts are supposed to do...
> 
> Bill Steele
> [log in to unmask]

ATOM RSS1 RSS2