0
votes
1answer
90 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 ...
2
votes
2answers
326 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
4k 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?
1
vote
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 ...