Sending Email from AppleScript Without Garbling It
Sending Email from AppleScript Without Garbling It
- Subject: Sending Email from AppleScript Without Garbling It
- From: "Simon Kornblith (Mailing Lists)" <email@hidden>
- Date: Mon, 03 Jun 2002 23:27:31 -0400
Is there any way to send a completely formed email message (all headers,
MIME encoded) with AppleScript? The script is supposed to be an Entourage
add-on, so I don't want to launch another client, but making a new message
and sending it out mangles the message (which is PGP/MIME encoded, and can't
have any types screwed up) beyond all recognition. Is there any way to send
this through a shell command? I got Perl to work, but unfortunately
launching the Perl interpreter as part of "do shell script" seems to crash
Entourage (so does "osascript") even with SR1.
IIRC Curl has a telnet, any idea on how to use it to pipe stdin to a host?
Telnet won't take pipes or redirection.
If possible, I'd like to do this all with as little additional payload as
possible (small or no additional apps).
This time I'll post from the right account so it doesn't look like I
double-posted.
Thanks in advance,
Simon
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Letter to Josiah Quincy, Sept. 11, 1773.
Those who desire to give up freedom in order to gain security will not have,
nor do they deserve, either one.
-- President Thomas Jefferson
To those who scare peace-loving people with phantoms of lost liberty, my
message is this: your tactics only aid terrorists.
-- John Ashcroft
_______________________________________________
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.