Tags » JavaMail

JavaMail API - Replying Emails

In this chapter we will see how to reply to an email using JavaMail API. Basic steps followed in the program below are:

  • Get the Session object with POP and SMPT server details in the properties.
  • 754 more words

How to create a return receipt email, Javamail

I am able to send an email using javamail with this code

message.setHeader("Disposition-Notification-To", from);

The above line sends a email which will request the user to send receipt or ignore request(using thunderbird i can see this message will popup). 52 more words