On 8 Jul 2016, at 16:13, Sal Conigliaro <s...@erinedesign.com> wrote:
> 
> You can send mail using sendmail without having to configure Postfix or
> Sendmail.
> 
> Out of the box OS X can use sendmail to send messages. You can test it by
> doing:
> 
> echo “Subject: Email from OX“ | /usr/sbin/sendmail recipi...@domain.com
> 
> (You’ll have to actually include more email headers so it has less chance
> of being marked as spam)

It has a very high probability of being marked as spam, whatever headers you 
use, because it’ll be delivered direct to the recipient’s mail server, most 
likely from a consumer ISP-owned IP range.  Further, if you aren’t careful 
about the From: address, it’ll fall foul of SPF, DKIM and other similar rules 
intended to prevent spam.

It’s best either to

(a) send via the customer’s own e-mail account, which is tricky to configure 
and means you will need support for TLS (some mail servers only accept outbound 
e-mail over authenticated TLS connections), or

(b) use a web server under your control to actually send the e-mail, and have 
the software make an HTTP POST to trigger it

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to