📜  smtp 错误:无法验证.托管程序 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:26.595000             🧑  作者: Mango

代码示例1
$mail->Host = gethostbyname('smtp.gmail.com');
//i replaced default code with this line of code on my hostinger. it worked for me.