Re: SmtpMail connection question.
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 5 May 2006 14:42:05 -0400
Can you monitor both sides of the conversation? That is, using Ethereal
(free from Ethereal.com), or some other packet sniffer, check the entire
conversation, both client and server.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Hard work is a medication for which
there is no placebo.
"Mitch" <Mitch@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9A7DFFB0-2D90-48DC-AF97-F3E91A858A19@xxxxxxxxxxxxxxxx
I've got 2 different applications that use the same SMTP server. One is
written in C# and uses the SmtpMail class. The other is in C++ and uses
the
ATL CSMTPConnction class. The SmtpMail code works just fine. The
CSMTPConnection code fails. In digging down into the ATL code, I can see
where it issues a "HELO" command to the smtp server and reads the result
to
check for a "250" return code as an indicator of success. Using telnet, I
can verify that 250 is returned from a "HELO" command. The big wrinkle
here
is that the smtp server is using a 3rd party smtp security product. I
suspect that the ATL code is doing something that the 3rd party product
does
not like. So, finally, my question is about how the SmtpMail class is
successful. Does the underlying code issue a "HELO" command at all?
TIA - Mitch
.
- Follow-Ups:
- Re: SmtpMail connection question.
- From: Ben Voigt
- Re: SmtpMail connection question.
- Prev by Date: Re: Get remote computer MAC address
- Next by Date: Re: SmtpMail connection question.
- Previous by thread: Re: Get remote computer MAC address
- Next by thread: Re: SmtpMail connection question.
- Index(es):
Relevant Pages
|