wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "E-mail Issue" Watch "E-mail Issue" New topic

E-mail Issue

Mahesh Trikannad
Ranch Hand

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

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



Mahesh Trikannad
subject: E-mail Issue
Similar Threads
JavaMail Api
JavaMail w/ Tomat problem
JSP security: potential issue with arguments passed to a JSP?
Sending Mail using smtp.mai.yahoo.com
JavaMail w/ Tomat problem