• 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: Jeff Laing <email@hidden>
  • Date: Wed, 24 Jun 2009 04:52:14 +0000
  • Acceptlanguage: en-US
  • Thread-topic: Cocoa and email (SMTP/POP3)

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 ?

If the scriptable solution works, then roll-your-own-smtp should also work, provided you go the hard yards and implement everything it requires (like the tricky authentication stuff).  And I'd have thought that /usr/bin/sendmail should do that just fine?  Am I missing some subtlety?

-----Original Message-----
From: cocoa-dev-bounces+jeff.laing=email@hidden [mailto:cocoa-dev-bounces+jeff.laing=email@hidden] On Behalf Of Nick Zitzmann
Sent: Wednesday, 24 June 2009 2:14 PM
To: Dave DeLong
Cc: email@hidden
Subject: Re: Cocoa and email (SMTP/POP3)


On Jun 23, 2009, at 9:42 PM, Dave DeLong wrote:

> 3.5: Use /usr/sbin/sendmail:  Create an NSTask that launches /usr/
> sbin/sendmail, configures the headers, and then just pipes your
> email through the task's standardInput.


I can't really recommend doing that in a non-internal app, though,
because if the user only has a static IP address and no domain name,
then a good deal of mail servers won't accept the mail from the host
unless they identify using a fake host name and get lucky.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

_______________________________________________

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: Andrew Farmer <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>)

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