Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

E-mail Issue

 
Mahesh Trikannad
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a issue with E-mail ( Not really a Java Mail issue, though I do use Java mail ) Iam having.

A user logs-in to our application and has a designated e-mail address, lets assume it is user@userdomain.com.

My application uses my companies smtp domain , lets assume it is smtpout.mycompany.com , to send e-mails.

If I send mail with from:user@userdomain.com , there are instances where spam filters reject the mail , since it is coming from mycompany.com but with a from of userdomain.com.

So what I did was I put a
from onotreply@mycompany.com
replyTo:user@userdomain.com

This works fine with sending e-mail and e-mail gets replied to correctly -- But if the user sends a mail to a invalid recipient, the mail does not bounce back to replyTo. Since the from is a invalid address, the bounced mail is lost.

Any solution to this problem

Regards

Mahesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic