View RSS Feed

Java Mail

  1. Email Senders and Recipients

    by , 04-25-2012 at 10:31 PM
    Recipient and sender of email addresses are presented in JavaMail, by InternetAddress class instances. Email addresses are taken by the constructor as a string, & AddressException are raised when there is no resemblance b/w valid email address and address. Personal name is provided as a string, for 2nd parameter.
    Sender address could be set by calling setForm() method, at MimeMessage object. Sender address has these given types:
    • Registered administrationís address, for application.
    • Userís