Questions tagged [ssmtp]

82 questions
1
vote
0 answers

Magento 2 unable to send mail

Magento 2 - I'm migrating a Magento 1.9.3 site to a new instance of Magento 2.1.3. Its actually a complete new install. I just cannot work out how to get Magento 2 to send email via a smtp. I have tried to setup ssmtp but i have failed I'm using…
1
vote
1 answer

Smarthost configuration to configure sSMTP to relay sendgrid

The "clear problem statement" is How to configure sSMTP to relay sendgrid as smarthost ? The default sSMTP config is:: $ cat /etc/ssmtp/ssmtp.conf root=postmaster # MX records are consulted. Commonly mailhosts are named…
user3313834
  • 7,327
  • 12
  • 56
  • 99
1
vote
1 answer

How to send email updates with beaglebone black?

I am trying to do a (presumably) very simple task. I want my Beaglebone Black (BBB) to send me an email when a button wired to it is pushed. A) I don't know for sure if I have Angstrom or Debian (or otherwise?) and I don't know how to find out B)…
Ed Sawden
  • 39
  • 3
1
vote
0 answers

Why is PHP mail() not sending an email?

I just need a really simple email to be sent when a user submits a form on my website. (I've looked into using PHPMailer, but have failed to have it actually send an email. I've kind of given up on it because it really is more complex than I need.)…
reubonwry
  • 317
  • 4
  • 15
1
vote
0 answers

From: address not working on PHP mail() with sSMTP

I have PHP 5.5.9 on Ubuntu 14.04.3 LTS. I use sSMTP and Google's SMTP to send mails on PHP's mail() function. Something has changed, because now when I recieve the email from server, sender is www-data, even tho I have specified headers for email…
Össi
  • 41
  • 1
  • 2
1
vote
0 answers

ssmtp: queuing emails when smtp server is unreachable

I have ssmtp installed and configured on my linux box. It connects to a remote smtp server provided by my hosting provider and works faultlessly. My linux box is connected to an APC UPS, and emails are sent from the ups deamon (apcupsd) when the…
linuxlover
  • 11
  • 1
1
vote
3 answers

How can I send mail using python script?

For doing this I started following the link New to Python, GMail SMTP error. And my code is import smtplib sender = "noreply@gmail.com" receiver = ["ram@gmail.com"] message = "Hello!" try: session = smptlib.SMTP('smtp.gmail.com',587) …
ramkrishna
  • 632
  • 1
  • 7
  • 24
1
vote
1 answer

A wrong address's email sent on AT command error via ssmtp

I followed this instruction to setup an email client, http://zackreed.me/articles/39-send-system-email-with-gmail-and-ssmtp All works fine but when I use at / crontab. for example, at now abcd1234 Since there is no such command, an email saying…
user3204729
  • 317
  • 1
  • 13
1
vote
2 answers

php mail script not working with cron

I have a problem getting a cron job to run (properly). I created a (very large, but whittled down to nothing) php page that calls mail() Then I…
Drew
  • 1,014
  • 2
  • 10
  • 21
1
vote
2 answers

PHP mail(); not sending simple mail throug ssmtp

actually if I run the mail function in the php console (php -a) it works, but if i do it on a php script and I execute it from chrome it doesnt work. Im using Nginx with PHP-FPM and ssmtp…
relvira
  • 99
  • 2
  • 2
  • 9
0
votes
2 answers

Setting up PHP mail in Debian Lenny

So I am trying to setup PHP Mail in Debian Lenny. I followed this tutorial: http://www.thewireframecommunity.com/node/39 and I've installed ssmtp with aptitude install ssmtp. My email provider is godaddy so my MX records are: And this is my…
jQuerybeast
  • 14,130
  • 38
  • 118
  • 196
0
votes
1 answer

How to change the sender name of email on Ubuntu

I just installed ssmtp to send email with LAMP on Ubuntu. And a simple script like this:
Irene Ling
  • 1,881
  • 3
  • 26
  • 41
0
votes
0 answers

Please advise on constructing the subject line for an email to be sent using ssmtp (on Ubuntu)

Using the ssmtp library and Python (3.10.6), I compose an email message using the following code: with open(config_filename) as config_file: configuration_contents = config_file.read() configuration_contents_encoded =…
Ukimiku
  • 11
  • 1
0
votes
1 answer

ssmtp called from a script fails with ssmtp: Cannot open mailhub:25 but script is running with user in mail group

I am trying to get motion to run a script on the on_movie_end event. The script, below, calls ssmtp to send the file as an attachment. If I call the file from the command line, as the normal user, or using sudo -u, the script runs fine, with no…
miller the gorilla
  • 860
  • 1
  • 7
  • 19
0
votes
1 answer

How do I send the output of my Curl command to email with ssmtp?

Ok so I'm fairly new to Linux and I'm still learning as I go. Apologies I use the wrong terms and etc. So I want my ngrok port curl output to be converted to text and send it as an email with ssmtp. I did this: echo "$(curl…