RE: Cocoa and email (SMTP/POP3)
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