Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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

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

If I send mail with , there are instances where spam filters reject the mail , since it is coming from but with a from of

So what I did was I put a

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


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic