Mail.app (2 questions)
Mail.app (2 questions)
- Subject: Mail.app (2 questions)
- From: David Hanauer <email@hidden>
- Date: Wed, 14 Jan 2004 12:39:02 -0500
Hello. I have two questions regarding scripting Apple's Mail application.
1) Is there any way to automatically "attach" and then send a file
as an attachment to an e-mail message if the file is not a text file?
I searched for several hours, but all I could find is:
"Technical Q&A QA 1018: Using AppleScript to send an email with an attachment"
http://developer.apple.com/qa/qa2001/qa1018.html
But this is only for text files. I am interested in doing this so
that I can automatically backup a data folder on one computer (by
creating a .tar file) and then sending the file as an attachment to
myself via e-mail.
2) Is there any way to create messages and then put them on a
"queue" and then send them all at once (and do this all automatically
with AppleScript)? I am interested in sending out a number (maybe
50) messages all at once, but the only way I am able to do this is
loop through each recipient, make the message, and then send that
message before going on to the next recipient. I find that some mail
servers seem to complain about connecting to the server too many
times, too quickly and I'd like to find a way so that I only need to
connect once and send them all at the same time. (This is not for
spamming people, by the way :)
Thanks in advance!
David H.
_______________________________________________
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.