📅  最后修改于: 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.