0
votes
1answer
23 views

SSMTP returns error 550

I have a Raspberry Pi with Raspian installed on it and I am experiencing troubles sending out emails. I have installed SSMTP and usually inside my scripts I'm sending out emails to notify me when a ...
2
votes
1answer
41 views

How to send email from ssmtp with HTML

I want to send an HTML report that is piped from another command, eg: mycommandthatprintshtml | mail someone@hostname.com . When I do this currently, it prints all the html tags. Is there a way I can ...
2
votes
4answers
151 views

Why am I getting inconsistent IP values from icanhazip.com or curlmyip.com?

I wrote a bash script and appended to my crontab to query my IP address every minute, and if it is not the same with the previous query it sends me an e-mail to inform me for the IP address change. ...
1
vote
1answer
326 views

Setup GMX email with SSMTP

I setup the simplest outgoing email server possible with ssmtp. It is giving me the error Authorization failed (535 Authentication credentials invalid). Here is my configuration without comments: # ...
1
vote
1answer
87 views

How can I configure two mails for two different users in Ubuntu

I am struggling with configuring two mails for two different users in Ubuntu. Like if I login with User1 then whenever I use the command mail, it should send mail from user1@gmail.com. And when User2 ...
0
votes
1answer
596 views

Calling an email script from another script using ssmtp on ubuntu

I have an issue with a script, which works fine except that it only sends email when I run it directly from the shell but when called during crontab it doesn't send the emails. There are 2 scripts ...
3
votes
2answers
529 views

Where is the setting for sending email to a system user with ssmtp?

I'm using ssmtp for sending email (the setting is below) Now when i run a cron command or an at command, mail is sent to michel@mypi which is username @ machinename Now ofcourse this is not a ...
5
votes
4answers
6k views

How can I send attachment with ssmtp in Linux?

I can send email from my gmail account by ssmtp in Linux now. But how can I attach files to the email?
2
votes
1answer
2k views

Can I make SSMTP to automatically set the “To:” header?

I'm using the ssmtp package to send e-mail via g-mail. Everything is working fine with it - the only strange thing is that if I send mail via the command line, the "to field" is funky. ssmtp ...