Google Mail SMTP Syntax Erro (wodSmtp)
Hi,
When using the '6. CC and BCC' project and setting the parameters shown for connecting to the google smtp, we receive the following errors in the debug log for that example program.
wodSmtp1.Authentication = AuthAuto
wodSmtp1.Security = SecurityAllowed
wodSmtp1.Hostname = smtp.googlemail.com
wodSmtp1.Port = 587
wodSmtp1.Login = myusername@gmail.com
wodSmtp1.Password = mypasswordforgoogle
The following is in the debug screen:
--------------------
State changed to Connected to the server.
Connected, server capabilities are:
SIZE 28311552
8BITMIME
STARTTLS
ENHANCEDSTATUSCODESSIZE 28311552
8BITMIME
AUTH LOGIN PLAIN
ENHANCEDSTATUSCODES
State changed to Sending MAIL FROM command.
State chaState changed to Disconnected, will retry.
nged to Connected to the server.
State changed to Not connected.
DISCONNECTED 5.5.2 Syntax error. k35sm8221692waf.15
There are 0 recipients left
DONE!
State changed to Established SSL encryption.
State changed to Sending greeting to the server.
Connected, server capabilities are:
State changed to Sending greeting to the server.
State changed to Connecting to the server.
Connecting to smtp.googlemail.com
SIZE 28311552
8BITMIME
STARTTLS
ENHANCEDSTATUSCODESSIZE 28311552
8BITMIME
AUTH LOGIN PLAIN
ENHANCEDSTATUSCODES
State changed to Sending MAIL FROM command.
State changed to Connected to the server.
State changed to Not connected.
DISCONNECTED 5.5.2 Syntax error. j34sm8277369waf.48
There are 0 recipients left
DONE!
State changed to Disconnected, will retry.
-------------------------
We also tried
wodSmtp1.Security = SecurityImplicit
and it still does not work.
We also tried the other host address at
smtp.gmail.com
mentioned in the other forum entry.
Help
Thanks.