我在我的localmachine上使用zf和谷歌的smtp,服务器需要太长时间,然后检查日志消息我得到以下内容:
mymachinename sm-mta[20775]: q89DwF0X020757: to=<myaccountname@gmail.com>, ctladdr=<XXXXX@localhost.local> (1000/1000), delay=00:00:40, xdelay=00:00:20, mailer=esmtp, pri=120528, relay=gmail.com., dsn=4.0.0, stat=Deferred: Name server: gmail.com.: host name lookup failure
SMTP配置:
mail.smtp.host= "smtp.gmail.com"
mail.smtp.auth= "login"
mail.smtp.username="myusername@gmail.com"
mail.smtp.password="password"
mail.smtp.port="465"
mail.smtp.ssl="tls"
有什么想法吗?