I am trying to send mail using Amazon SES SMTP with STARTTLS in ExpressionEngine . I am encountering the error below.
I'm unsure why it is complaining it can't send the AUTH LOGIN command before the STARTTLS command - STARTTLS has clearly already been sent. I have tried everything I can think of, and would appreciate it if someone could point me in the right direction.
220 email-smtp.amazonaws.com ESMTP SimpleEmailService-376766033
hello: 250-email-smtp.amazonaws.com
250-8BITMIME
250-SIZE 10485760
250-STARTTLS
250-AUTH PLAIN LOGIN
250 Ok
Failed to send AUTH LOGIN command. Error: 530 Must issue a STARTTLS command first
from: 530 Authentication required
The following SMTP error was encountered: 530 Authentication required
to: 503 Error: need MAIL command
The following SMTP error was encountered: 503 Error: need MAIL command
data: 503 Error: need MAIL command
The following SMTP error was encountered: 503 Error: need MAIL command
500 Error: command not implemented
The following SMTP error was encountered: 500 Error: command not implemented
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.