Must issue a STARTTLS command first

  • Share
  • Share

Applies to:
NA

Description:
Occurs while trying to send a message

Cause:
Your SMTP server wants you to switch from a plain text connection to a secure connection using the STARTTLS command.

JAVA-Mail

  1. admin
    March 20th, 2009 at 10:28 | #1

    You can enable use of this command by setting the Session property “mail.smtp.starttls.enable” to “true”. This will cause the SMTP protocol provider to issue the STARTTLS command after connecting to the server. See the file SSLNOTES.txt included in the JavaMail download package for additional information. Note that your server is most likely also going to want you to authenticate.

  1. No trackbacks yet.