Questions tagged [ssmtp]
67 questions
12
votes
3 answers
After updating sSMTP to version 2.61 I cannot send mail via gmail
I updated sSMTP to version 2.61 and now when I try to us it I receive the following error:
ssmtp: Cannot open smtp.gmail.com:587
I can connect via telnet to their address, but sSMTP seems to get tripped up and Im not sure what changed after the…

ProfessionalAmateur
- 3,185
10
votes
3 answers
ssmtp: Cannot open mail:25
I've installed ssmtp and then edited the ssmtp.conf file so could try sending a mail but says cannot open mail:25 however in the conf file I set it to gmail port 467 and I am pretty sure everything else is right.
What specifically do I need to look…

cea
- 1,543
9
votes
6 answers
Troubleshooting sSMTP: Authorization failed
My requirements are:
send an email from the terminal (for the sake of batch processing)
attach a pdf file to that email (the pdfs would be identical for all recipients, except for a watermark)
specify a reply-to address (myusername@gmail.com)
I've…

Erwann
- 677
0
votes
0 answers
ssmtp: sending email through the command-line, body of email being ignored
When I run:
echo "Subject: mysubject\n\nmytext" | sudo ssmtp myemail@gmail.com
I expect the line above to send an email to myemail@gmail.com with mysubject as Subject, and mytext as body of the email.
However, it sends an email with…

Pierre B
- 2,213
0
votes
1 answer
www-data as the expeditor of a mail sent with contact 7, ssmtp being the server
On my Debian Raspberry, i have installed ssmtp. When I send an email, using Wordpress' contact 7 form, the email appears as sent by www-data, the owner of the directory where wordpress is installed.
How can I change this ? it is so ugly !
Here is…
-1
votes
1 answer
How to attach file to mail using SSMTP ONLY!
I have this bash script that prepares and sends an email using SSMTP. The line that sends the message looks like this:
/usr/local/sbin/ssmtp -vvvv $recipients < $mail_file
$recipients: the recipient list
$mail_file: the mail file
How would I attach…

SCilek
- 1