Raspberry : Error ssmtp: Cannot open smtp.gmail.com:587 ส่งเมล์ไม่ได้
แก้ไข Config ssmtp.conf
ข้อมูลดังนี้
http://serverfault.com/questions/415779/ssmtp-on-ubuntu-ssmtp-cannot-open-smtp-gmail-com587
แก้ไข Config ssmtp.conf
- nano /etc/ssmtp/ssmtp.conf
ข้อมูลดังนี้
- root=myemail@gmail.com
- mailhub=smtp.gmail.com:587
- rewriteDomain=gmail.com
- hostname=YourComputerHostName
- UseTLS=YES
- UseSTARTTLS=YES
- AuthUser=myemail@gmail.com
- AuthPass=passwordofmyaccount
- AuthMethod=LOGIN
- FromLineOverride=YES
http://serverfault.com/questions/415779/ssmtp-on-ubuntu-ssmtp-cannot-open-smtp-gmail-com587
No comments:
Post a Comment