Directing bounced/failed emails using Delphi NMSMTP

Has anyone found a way of having failed emails returned to them while looking as though they have been sent by another email customer?

I am working on a Mass Emailer project (using Delphi 5 and the NMSMTP component)for my company. This will send out emails on behalf of our cusomers.

The emails have to look as though they have come directly from our customers but any failed/bounced emails have to be returned to us.

The nearest I have got to solving this is to put the customer's name and email address in the 'FromName' property and their email address in the 'ReplyTo' property. Our email address is put into the 'FromAddress' property. Failed emails are returned to us, the customer's name and email address appear on the email and if the recipient selects 'Reply' the customer's email address is used. BUT our email address also appears in the From section (which my boss is unhappy with).

Is there a way of getting bounces returned to us without having our email address appear on the email?

Who is Participating?
florisbConnect With a Mentor Commented:
I think your way is the closest you can get.

You want to receive the failed ones, so you've got to use the FromAdress property the way you do.

Workaround: use fromadres from other company's, and let them f.e. add an Outlook rule, so that all failed emails, are forwarded to you. then your adress isn't needed at all in the mailings.

I don't think there's a solution your boss will love... ...but then again, this is not my expertise.


AllotmentAuthor Commented:
I'm not sure about getting our customers to add an Outlook rule so that we get all their failed emails - they may be using the email address themselves for other purposes. (but thanks for the prompt reply!)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.