Posted on

Example of Email InternetAddress in Java

Address from = new InternetAddress("[email protected]");

Address from = new InternetAddress("[email protected]", "Sender's FirstName sender's LastName");

Address from = new InternetAddress("[email protected]","ITRAC NOTIFICATION",String.valueOf(StandardCharsets.UTF_8));
Leave a Reply

Your email address will not be published. Required fields are marked *