If the recipient's address (strEmailto ) does not exist, intSuccess returns 1 and I get a message 'undeliverable' in my OutLook
in essence, there is a safe way to test the accuracy of the address of the recipient, or to make sure that the email was really sent?
asked Jan 19 '16 at 08:33
It's not possible to know if the email address at the final destination exists or not during the SMTP client/server "handoff".
An SMTP client, such as the Chilkat Email component or Outlook, is responsible for passing an email to an SMTP server. Typically, the client connects to his own SMTP server that acts as a relay to deliver email destined for a remote mail server. The "handoff" to your SMTP server is the 1st step in the mail delivery process. An SMTP client can only ensure that this handoff happens without error. After the handoff is complete, it is the SMTP server's job to relay the email to a remote SMTP server (or perhaps some intermediate server) to complete delivery.
There are some important things to understand:
Here's what happens when your program sends email using Chilkat or any SMTP client.
I'll leave it at that, because at this point the client is finished. If the email address is valid, it should get delivered. If it was not valid, there is only a possibility that a non-delivery report might be sent back to the sender -- but you can't count on it. The SMTP server at the final destination might not even indicate that the email address is invalid.
answered Jan 19 '16 at 08:36