When encountered this type of error when sending email with java mail feature, just set the below mentioned attribute to the Properties object you are using before,
Properties props = System.getProperties();
Posted by Creators on May 11, 2011 in Java
Tags: java mail, Must issue a STARTTLS command first, props, smtp mail
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Create a free website or blog at WordPress.com.
Entries (RSS) and Comments (RSS)