PHPMailer to use Gmail as SMTP server.Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host

前端 未结 4 1864
你的背包
你的背包 2020-12-01 18:30

i am trying to use phpMailer to send confirmation messages to users via email. my code is this:



        
4条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 19:25

    in you php.ini make sure you have uncommented the line with

    extension=php_openssl.dll
    

提交回复
热议问题