I’m building an AppleScript Studio App to send multipart TEXT/HTML email messages. The OSX Mail.app won’t do this, so I’m looking into trying to use a “do shell script” command line to get it working.
But it looks like the out-of-the-box configurations of the “mail” and “sendmail” commands don’t allow one to send messages. I’m hoping to release this as shareware so I’d rather not ask users to reconfigure things. On top of that, many ISP providers will block an SMTP server running on the local machine because of the possibilities for spamming. So I’ve been starting to look into actually communicating with the user’s chosen SMTP server directly via a “do shell script ‘telnet smtp.myisp.com 25’” type of thing. But this starts to get dicey and I’m wondering if there’s an easier way out there.
I’ve found the 24U Email OSAX extension which looks like just what I need, but again because I’m looking into distributing this project I’d rather use a more “built in” type of solution.
Anyone have any ideas? I’m not very Unix savvy but I understand most of the basics. And of course, I’d be happy not to have to deal with the command line at all if possible.