• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to send email without using email client
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send email without using email client


  • Subject: Re: How to send email without using email client
  • From: j o a r <email@hidden>
  • Date: Fri, 9 May 2008 11:03:40 -0700


On May 9, 2008, at 10:48 AM, Jens Alfke wrote:

You can also send mail pretty easily by using NSTask to invoke /usr/ bin/sendmail — the parameters are pretty simple, check the man page. Normally I'm not a big advocate of getting things done by running Unix commands, but in this case the alternatives are all pretty complex and involve a lot of 3rd party code.


This is typically a bad idea for another reason: With the amount of spam in circulation today, many - If not most - mail servers now flat out reject email that is not sent from reputable mail servers, where by reputable I mean a combination of:

	* Is not flagged as a spam relay
	* Doesn't live on a dynamic IP block
	* Has valid reverse pointer DNS configured
	* Pass SPF validation
	* et.c.

I think that the only safe approach is to use existing mail servers, either one that the user provides, or one that your company / organization can provide for the purpose of supporting your application. This still leaves the original question unanswered of course...

This is a very good "third party opportunity" for someone who would like to make a name for themselves in the Cocoa community - much like Sparkle, Growl, et.c.

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to send email without using email client
      • From: Jens Alfke <email@hidden>
References: 
 >How to send email without using email client (From: vinitha ks <email@hidden>)
 >Re: How to send email without using email client (From: Chris Suter <email@hidden>)
 >Re: How to send email without using email client (From: Buddy Kurz <email@hidden>)
 >Re: How to send email without using email client (From: Ilan Volow <email@hidden>)
 >Re: How to send email without using email client (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to send email without using email client
  • Next by Date: Did I reinvent the wheel?
  • Previous by thread: Re: How to send email without using email client
  • Next by thread: Re: How to send email without using email client
  • Index(es):
    • Date
    • Thread