• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

E-mail Issue

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic