Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: help on SMTP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help on SMTP



Honestly, if I had a choice between including my own preference options for SMTP host/port/name/password, or simply telling the user "please make sure that Mail.app's SMTP is configured correctly if you want e-mail delivery to work," I'd opt for the latter. Probably at least 50% of users have configured Mail.app at least once (even if it is not their primary mail program), and most users who haven't would not object to setting it up. It likely includes more options than your app will (e.g. our company's SMTP server requires SSL or NTLM—will your app support this?). And most of the remaining users probably use web mail, and there's no simple way to piggyback on that, unfortunately.

Unfortunately, the simplest choice IMO is to use a different vehicle for message delivery. It is much more reliable to do an HTTP POST to a known web server—that will work for everyone without any configuration.


On Mar 20, 2007, at 10:55 AM, Marco Piovanelli wrote:

On Tue, 20 Mar 2007 09:17:29 -0700,
John Stiles (email@hidden) wrote:


One minor comment: due to problems with Windows viruses, spam and/or 
open relays, many ISPs (such as mine) do not allow users to run SMTP 
servers on their machine, blocking the ports involved, and explicitly 
deny connections to any SMTP server but their own.

True.

I wouldn't recommend trying to send mail by running the entire SMTP
process yourself.

I don't see a problem with this, as long as you let the user
configure the SMTP parameters: host, port, and name/password
if authentication is required.

Or, if you can assume that the user has configured Mail.app, there is 
also the NSMailDelivery class.

Also true, but NSMailDelivery covers only the most basic needs,
and requires that Mail.app be properly configured (or perhaps
that there be a valid kICSMTPHost key in the old Internet Config
database).


                                        -- marco

-- 
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >help on SMTP (From: "Elango C" <email@hidden>)
 >Re: help on SMTP (From: Chris Newman <email@hidden>)
 >Re: help on SMTP (From: "Marco Piovanelli" <email@hidden>)
 >Re: help on SMTP (From: John Stiles <email@hidden>)
 >Re: help on SMTP (From: "Marco Piovanelli" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.