View RSS Feed

Java Mail

  1. Java Mail API Address

    by , 04-25-2012 at 10:54 PM
    Address class is considered to be the abstract class hence class javax.mail.internet.InternetAddress will be used here.

    Address address = new InternetAddress("");

    For name text to be displayed to Email add, one or more arguments shall be used for the name

    Java Code:
    Address address = new InternetAddress(“”, ”name”);
    After address has been created, make connection with message by 2 ways:

    1: ...
    Mail API