aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes E-mail Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "E-mail Issue" Watch "E-mail Issue" New topic
Author

E-mail Issue

Mahesh Trikannad
Ranch Hand

Joined: Dec 14, 2004
Posts: 68
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


Mahesh Trikannad
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: E-mail Issue