Re: [NEWBIE] How to send an email with Cocoa?
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