View RSS Feed

Java Mail

Email Senders and Recipients

Rating: 1 votes, 1.00 average.
by , 04-25-2012 at 09:31 PM (832 Views)
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 address for current request in which Google account has been signed in. Email address of current user can be determined with Users API. Account shall be Gmail account or present at that domain who is management is done by Google Apps.
  • Email address that is valid for reception for the app.

Submit "Email Senders and Recipients" to Facebook Submit "Email Senders and Recipients" to Digg Submit "Email Senders and Recipients" to del.icio.us Submit "Email Senders and Recipients" to StumbleUpon Submit "Email Senders and Recipients" to Google

Comments