Re: Mail - seen as junk
Re: Mail - seen as junk
- Subject: Re: Mail - seen as junk
- From: Doug McNutt <email@hidden>
- Date: Wed, 14 Oct 2009 08:55:04 -0600
Top posted to carefully preserve the question quoted in full below:
I have a lot of problems with Apple's mail client but I never use it. It apparently is quite difficult to send a simple text message these days. Mail.app adds kilobytes of HTML junque to everything that passes by. Even the posting was 47 lines and 15395 bytes long. Some I have encountered from Apple as iTunes receipts come up with 300000 (10) bytes.
My regular spam filters always complain about them for lines longer than 1000 characters and HTML content.
This list allows HTML for good reason. The Applescript editor uses styled text and formatting of code on the list can be preserved. Perhaps there is a better way.
But for an automated file you should turn off Apple Mail's HTML. But, as far as I can tell from OS 10.3.9, it's nearly impossible.
**** begin hopefully unchanged copy ****
At 16:32 +0200 10/14/09, Wayne Melrose wrote:
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
--
Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
_______________________________________________
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