Answer the question
In order to leave comments, you need to log in
gmail, smtp. The box is blocking. How to send mail via SMTP?
$smtpServerHost = 'ssl://smtp.gmail.com';
$smtpServerHostPort = 25;//465;
$smtpServerUser = '***@gmail.com';
$smtpServerUserPassword = '****';
I send mail... but in the answer silence. the google mail box swears at the login attempt, which was blocked.
Answer the question
In order to leave comments, you need to log in
unfortunately, without extrasensory skills it is difficult to understand what you are doing wrong)
what type of authorization is used (PLAIN, LOGIN, CRAM-MD5, etc.)? Maybe you're formatting requests incorrectly (look at wikipedia and rfc, for example this one )
maybe you should pay attention to other ways of interacting with gmail - imap , pop3
also gmail has api
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question