简体   繁体   中英

Javamail recieved mail send back to sender as bounce mail

I am quite confuse handling a mail. Once i received mail in my inbox eg (gmail), can i able to send back to user as it is bounce mail. What i am doing in here is, my application read mail from gmail using Javamail API and i want to send back them as that their email has not been delivered.

Any one have face this kind of scenario?

Thank you

Bouncing a message is MTA's job, not a client's such as JavaMail. You can however fake a bounce message but anyone looking into the message's source will be able to tell it was sent from a client.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM