with "sudo berryio email_ip" comes errors! anyone can help me?
Closed this issue · 4 comments
i just follow the "INSTALLATION INSTRUCTIONS " to do the berryio function ,when it comes to the last step ,i input "sudo berryio email_ip" system comes errors like this:
pi@raspberrypi ~ $ sudo berryio email_ip
msmtp: authentication failed (method PLAIN)
msmtp: server message: 535-5.7.8 Username and Password not accepted. Learn more at
msmtp: server message: 535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 q4sm50897126pba.12 - gsmtp
msmtp: could not send mail (account default from /etc/msmtprc)
ERROR: Email could not be sent, please check your logs
is there anyone can help me? thanks!
BerryIO uses msmtprc to send emails. So that msmtprc can send the emails it needs the login details for a real email account (such as gmail for example) configured in the file /etc/msmtprc
Please edit /etc/msmtprc and check your email account username and password settings
sudo nano /etc/msmtprc
For further information on this file please Google for msmtprc.
All you need to change is /etc/msmtprc please do not change any other msmtp settings or file permissions.
Good luck :)
Hi Daniel,
thank you very much for your advice,i will try this now!
------------------ 原始邮件 ------------------
发件人: "Daniel Bull";notifications@github.com;
发送时间: 2013年10月10日(星期四) 下午4:03
收件人: "NeonHorizon/berryio"berryio@noreply.github.com;
抄送: "亮灯"369760170@qq.com;
主题: Re: [berryio] with "sudo berryio email_ip" comes errors! anyone canhelp me? (#17)
BerryIO uses msmtprc to send emails. So that msmtprc can send the emails it needs the login details for a real email account (such as gmail for example) configured in the file /etc/msmtprc
Please edit /etc/msmtprc and check your email account username and password settings
sudo nano /etc/msmtprc
For further information on this file please Google for msmtprc.
All you need to change is /etc/msmtprc please do not change any other msmtp settings or file permissions.
Good luck :)
—
Reply to this email directly or view it on GitHub.
Daniel,it works! you are my hero! thank you!
No problems :)