Address class is considered to be the abstract class hence class javax.mail.internet.InternetAddress will be used here. Address address = new InternetAddress("name@site.net"); 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@site.net”, ”name”); After address has been created, make connection with message by 2 ways: 1: ...
Address address = new InternetAddress(“name@site.net”, ”name”);
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone