Re: How to write code to send an email?
Re: How to write code to send an email?
- Subject: Re: How to write code to send an email?
- From: Deirdre Saoirse <email@hidden>
- Date: Tue, 22 Jan 2002 11:16:52 -0800 (PST)
On Tue, 22 Jan 2002, Shayne Packer wrote:
>
I am trying to figure out how to compose and send an email with an
>
attachment to a specific SMTP server. A requirement is that the user
>
does not need to have an email address.
That is not acceptable to SMTP servers -- there needs to be a "from," and,
with most configurations these days, it has to be a real domain (and
possibly one that's not black listed).
So, if you need to send mail, it has to come *from* someone. See RFC 822.
>
NSMailDelivery works on my Mac, but it doesn't seem to work on a Mac
>
with an internet connection, but no email preferences.
I'm sure someone else might chime in with an easier Cocoa-happy way of
doing things, but sending mail by hand isn't brain surgery.
--
_Deirdre
http://deirdre.net
"I love deadlines. I like the whooshing sound they make as they fly by."
- Douglas Adams