I have a very similar problem as Ahmet. I have downloaded smtp.php and sasl.php. I will download the MIME message class after I get this working.
I have copied and pasted the sample code you gave. The only difference is the login is
[email protected], as that is what Gmail specifies.
Resolving SMTP server domain "smtp.gmail.com"...
Connecting to host address "209.85.133.109" port 465...
Connected to SMTP server "smtp.gmail.com".
S 220 mx.google.com ESMTP b11sm8573458ana
C EHLO localhost
S 250-mx.google.com at your service, [70.87.152.2]
S 250-SIZE 28311552
S 250-8BITMIME
S 250-AUTH LOGIN PLAIN
S 250 ENHANCEDSTATUSCODES
And then nothing else.
Ahmed, what else did you change to get the class to work?
Manuel, please advise on how to proceed.