trying to send mail using swift mailer, gmail smtp, php

后端 未结 8 1274
攒了一身酷
攒了一身酷 2020-12-01 01:08

Here is my code:

setUs         


        
8条回答
  •  清歌不尽
    2020-12-01 01:26

    I cannot be sure, but I think that Gmail's port is 587 using TLS, which is not SSL, but a newer version of it. You should check into that, because I think you are placing the wrong construction code.

    Best of luck!

提交回复
热议问题