• 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: Cocoa and email (SMTP/POP3)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and email (SMTP/POP3)


  • Subject: Re: Cocoa and email (SMTP/POP3)
  • From: Andrew Farmer <email@hidden>
  • Date: Tue, 23 Jun 2009 22:27:20 -0700

On 23 Jun 2009, at 21:52, Jeff Laing wrote:
Ok, I'll bite.

How does the mail server that Mail.app is talking to distinguish between Mail.app and /usr/sbin/sendmail ? They both presumably just talk SMTP ?

Mail.app is configurable by the user to connect to a specific relay mail server, potentially using login credentials, SSL, and/or an alternate port. Sendmail, by contrast, is not configurable (without cracking open the terminal, at least), and will by default always connect directly to the destination mail server. It's this exact behavior that makes it unlikely to work properly.


Consider also that not all users even have Mail.app configured. An increasing number of users use online mail services such as GMail exclusively. In their case, not even scripting Mail.app will help you.

If you really need to deliver email notifications from an application, the only reliable solution is to put together a properly secured web- to-email gateway for your application somewhere and use that. Sending email directly from the desktop is no longer a viable solution without explicit configuration.
_______________________________________________


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: Cocoa and email (SMTP/POP3)
      • From: Jeremy Pereira <email@hidden>
    • RE: Cocoa and email (SMTP/POP3)
      • From: Jeff Laing <email@hidden>
References: 
 >Cocoa and email (SMTP/POP3) (From: Isaac Alston <email@hidden>)
 >Re: Cocoa and email (SMTP/POP3) (From: Nick Zitzmann <email@hidden>)
 >Re: Cocoa and email (SMTP/POP3) (From: Dave DeLong <email@hidden>)
 >Re: Cocoa and email (SMTP/POP3) (From: Nick Zitzmann <email@hidden>)
 >RE: Cocoa and email (SMTP/POP3) (From: Jeff Laing <email@hidden>)

  • Prev by Date: Selectively using formatter in table view text cell
  • Next by Date: RE: Cocoa and email (SMTP/POP3)
  • Previous by thread: RE: Cocoa and email (SMTP/POP3)
  • Next by thread: RE: Cocoa and email (SMTP/POP3)
  • Index(es):
    • Date
    • Thread