• 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: How to write code to send an email?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to write code to send an email? (From: Shayne Packer <email@hidden>)

  • Prev by Date: Re: Initializing an Array
  • Next by Date: Re: Initializing an Array
  • Previous by thread: Re: How to write code to send an email?
  • Next by thread: Re: How to write code to send an email?
  • Index(es):
    • Date
    • Thread