Chilkat Email Components Home

SendEmail Method Return Status?

Back

Question:
When you use the 'SendEMail' command with the Email Activex component, what does being successful mean? Does it mean it saw the SMTP host it was sending it to when it sent it, or that it actually send it to it?

Answer:
A success status returned by SendEmail indicates that the SMTP session with the SMTP server was entirely successful. The Chilkat component was able to connect to the SMTP server, authenticate (if necessary), and proceeded through the mail-sending session without error. The SMTP server responded successfully in every way. From the SMTP client's point of view (i.e. the Chilkat component's point of view) the send happened successfully. However, the SMTP-client to SMTP-server handoff is just the 1st step in a completely successful email delivery. This page: How email works provides some good insight with a real-world example involving firewalls, SPAM-filters, etc.

There is no source code associated with this article.