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

Re: [NEWBIE] How to send an email with Cocoa?


  • Subject: Re: [NEWBIE] How to send an email with Cocoa?
  • From: Vincent Coetzee <email@hidden>
  • Date: Wed, 27 Oct 2004 12:56:18 +0200

When a recipient for a mail is specified, the domain portion can be used to resolve the MX host that handles mail for that domain. Message.framework (from what I can sniff) in some instances resolves the mail server for the recipient domain via a DNS query and then talks directly to that SMTP server for the domain host rather than going through a specified SMTP server. This may be specific to the environment I was testing in (I was using Tiger) but it definitely did it. It also did this when I used it at work, and I could not figure out why my code was not working. It turned out that our work firewall blocks all comms via port 25 unless they are internal. So using our normal smtp host works fine but talking directly to the SMTP server for an arbitrary domain does not.

Vincent

On Oct 27, 2004, at 12:31, stephane sudre wrote:


On Oct 27, 2004, at 12:26 PM, Vincent Coetzee wrote:

Dear List

Message.framework is not nice at all, and does some really nasty things (such as communicating directly with the SMTP host of the recipient rather than talking to an intermediate mail host, which can cause problems when one sits behind certain firewalls etc etc)

The SMTP Host of the recipient? To Send an e-mail?

How would it know the SMTP Host of the recipient anyway since it can only know the SMTP host of the sender?

There's something I don't understand.

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

This email sent to email@hidden

___________________________________________________________________________________________________


The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group an Authorised Financial Service Provider or its management.
The information in this e-mail is confidential and is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination.

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

This email sent to email@hidden
References: 
 >Re: [NEWBIE] How to send an email with Cocoa? (From: stephane sudre <email@hidden>)
 >Re: [NEWBIE] How to send an email with Cocoa? (From: Scott Stevenson <email@hidden>)
 >Re: [NEWBIE] How to send an email with Cocoa? (From: Vincent Coetzee <email@hidden>)
 >Re: [NEWBIE] How to send an email with Cocoa? (From: stephane sudre <email@hidden>)

  • Prev by Date: Re: System Idle Time
  • Next by Date: Re: Cocoa Java futures, NDA's etc
  • Previous by thread: Re: [NEWBIE] How to send an email with Cocoa?
  • Next by thread: Re: [NEWBIE] How to send an email with Cocoa?
  • Index(es):
    • Date
    • Thread