login about faq

If I'm sending email using Chilkat_9_5_0.MailMan and I have an invalid email (doesn't exist). The loMailman.SendEmail(loEmail) returns 1 (Sent). How can I get the information that it was actually failed?

asked Oct 13 '15 at 12:14

apaustria's gravatar image

apaustria
12


A bounced email goes back to the Sender/From address.

link

answered Oct 15 '15 at 11:38

TracyP's gravatar image

TracyP
1062

From my understanding, you will need to handle those returning bounces.

If you intend to have the code work as a bulk mail system. Google has some guidelines https://support.google.com/mail/answer/81126?hl=en

link

answered Oct 15 '15 at 12:50

TracyP's gravatar image

TracyP
1062

Just found this sample page for the bounce email. I'll take a look at it but my concern is since it's looping to all your email that it might actually take a while if the client doesn't cleanup his inbox. http://www.example-code.com/foxpro/bounce1.asp

(Oct 16 '15 at 10:00) apaustria

I did not find an email validation within the Chilkat control. From my understanding, the email is sent to the SMTP server, then the SMTP server will send it to the domain SMTP. That domain will bounce it.

link

answered Oct 13 '15 at 16:44

TracyP's gravatar image

TracyP
1062

Any ideas on how to get the bounce back information then?

link

answered Oct 14 '15 at 13:52

apaustria's gravatar image

apaustria
12

So I have to connect to my mailbox again (sender), loop on all the message and figure out which one are the bounced email? Sounds like a lot of work...

link

answered Oct 15 '15 at 11:45

apaustria's gravatar image

apaustria
12

You can use a regex prior to sending on each address to determine if the address is valid. Here's a great place to start: http://emailregex.com/

Otherwise, if you need to maintain those address, yes.

The language I'm currently working in does not have regex built in, so one of the other developers wrote a handler for us.

link

answered Oct 15 '15 at 12:12

TracyP's gravatar image

TracyP
1062

Hi Tracy, I don't have a problem with the address being invalid using regex. What I'm after for is those bounced email that is valid yet doesn't exist. For example emailproblemxxx@chilkat.com is valid using regex but it actually doesn't exist.

link

answered Oct 15 '15 at 12:19

apaustria's gravatar image

apaustria
12

You may take a lesson from bulk mail companies that are already out there. They send FROM an address that will receive the bounces. The REPLY-TO is the email you want the recipients send replies to.

link

answered Oct 16 '15 at 10:14

TracyP's gravatar image

TracyP
1062

Thanks for the tip.

(Oct 16 '15 at 10:36) apaustria
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×184

Asked: Oct 13 '15 at 12:14

Seen: 1,380 times

Last updated: Oct 16 '15 at 10:36

powered by OSQA