Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with "sudo berryio email_ip" comes errors! anyone can help me? #17

Closed
cole123 opened this issue Oct 10, 2013 · 4 comments
Closed

with "sudo berryio email_ip" comes errors! anyone can help me? #17

cole123 opened this issue Oct 10, 2013 · 4 comments

Comments

@cole123
Copy link

cole123 commented Oct 10, 2013

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!

@NeonHorizon
Copy link
Owner

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 :)

@cole123
Copy link
Author

cole123 commented Oct 10, 2013

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.

@cole123
Copy link
Author

cole123 commented Oct 10, 2013

Daniel,it works! you are my hero! thank you!

@NeonHorizon
Copy link
Owner

No problems :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants