Mail - seen as junk
Mail - seen as junk
- Subject: Mail - seen as junk
- From: Wayne Melrose <email@hidden>
- Date: Wed, 14 Oct 2009 16:32:04 +0200
I need to automate the sending of a file to an address.
I'm using Mail to do this.. I did this so that I could avoid any junk mail problems that I've had before using more command line mail sending options.
The code works fine, although when the mail comes in to my account, it's seen as "junk" mail. I'm a little worried that other recipients will be having the same thing, and perhaps the mail will go directly to their spam folders.
Is there something I can do in my code to stop this from happening?
thanks
code I'm using below
tell application "Mail" set lstEmailSender to get email addresses of first account set strEmailSender to item 1 of lstEmailSender
set newMessage to make new outgoing message with properties {subject:strSubject, content:strBody & return & return} tell newMessage set visible to true set sender to strEmailSender make new to recipient at end of to recipients with properties {address:strEmail} tell content make new attachment with properties {file name:strFilepath} at after the last character end tell send newMessage end tell end tell
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden