Questions tagged [ssmtp]

82 questions
0
votes
1 answer

Checking the emails logs while using Python smtplib

I wrote a simple program that sends email using smtplib. The program works perfectly and sends the email. Is there any option that I can view all the logs during the communication? Meaning is it possible to print or to view the smtp conversation…
0
votes
1 answer

SMTP Emails Sending out Intermittently from application

I'm facing kind of SMTP mail problem sending through the application using coding as below SmtpClient SMTPServer = new SmtpClient("smtp.office365.com"); SMTPServer.UseDefaultCredentials = false; SMTPServer.Credentials = new…
0
votes
1 answer

Email sent after jenkins job lost?

I have a jenkins job setup on UBUNTU, that is to execute some test scripts, and after each execution, the email will be automatically sent to notify the team. It used to work pretty well. But just recently, I am not getting any email any more. But…
user3595231
  • 711
  • 12
  • 29
0
votes
0 answers

How to send mail in golang via ssmtp

After setting up system like https://askubuntu.com/a/643990/829858 , I am able to send mail via mailx, but how can I send mail via golang using this system . I don't want to call cmd module to call mailx.
dgfjxcv
  • 267
  • 2
  • 13
0
votes
1 answer

ssmtp cannot email my bash variable received from python subprocess

I'm using subprocess within a python script to send variables into a bash script which is designed to send emails. My python code: import re import subprocess message="https://example.com/" subprocess.run(["./send_email.bash",message]) My…
chr218
  • 19
  • 5
0
votes
1 answer

How to send email using SSMTP through Codeigniter on Ubuntu

I am new to SSMTP and Ubuntu, but I have successfully sent emails using the following command: ssmtp -t < temp_email_file Using PHP in Codeigniter, I'm trying to have my controller run the same command. I know this is not the most secure way to do…
Chris
  • 545
  • 1
  • 5
  • 9
0
votes
0 answers

Why in Laravel 5 app emails sent using laravel-mail-preview plugin are not received by receivers?

In view of 5.7 laravel app I use themsaid/laravel-mail-preview plugin for testing of emails sending with snowfire/beautymail templates and for this in .env of my local project I have options: MAIL_DRIVER=preview #…
mstdmstd
  • 586
  • 15
  • 39
0
votes
1 answer

ssmtp with sparkpost in docker

I'm trying to set up a simple email server for testing during development, but SSMTP keeps giving me "Invalid response SMTP server" even with -vvvv, I get no more information. My ssmtp config file looks like this right…
Cody Haines
  • 1,157
  • 10
  • 16
0
votes
1 answer

Unable to connect to mail.google.com on motion configuration

I have set up a motion detection camera on my raspberry pi zero w, and it's able to record videos and save pictures and upload them to dropbox but not sending email notifications on_event_start and this is how I defined my on_event_start…
0
votes
1 answer

Sending email with 1and1 cloud server fails

I am going to send email by using the ssmtp in 1and1 cloud server. Sending email is not working in 1and1 cloud server but it is working in windows which is my localhost and linux server which is my VMWare. Who can help me? Please anyone suggest me a…
Jack
  • 1
  • 4
0
votes
1 answer

cant work out where cron emails are going

I have a dev box using xubuntu 16.04. I have setup ssmtp to handle mail and can send email. I tested it with mail myemail@mydomain.com < .~/.bashrc' And it worked fine. I have a cron job running every minute which creates output that should…
Ben Edwards
  • 425
  • 5
  • 18
0
votes
0 answers

How do I get an error or confirmation from mailutils to c++?

I use a system() call to mailutils to send email alerts from a c++ program (running on a Debian Linux machine). Is there a way for my program to determine success or failure?
0
votes
1 answer

Sending a mail from shell scripting

I write a script for scheduling backup process .In that script i want to trigger a mail to the corresponding user and admin user as " Backup completed successfully for the $username at $date $time.what can i do .then which packages i need to install…
0
votes
1 answer

Mod Evasion Email Notification Issue

We are attempting to set up Apache Mod Evasion to prevent future DOS attacks on one of our servers. Everything seems to be working well outside of email notifications. The stack is running PHP 7.1 and Apache2.4 on Ubuntu Server 16.04. Email works…
nbrink
  • 436
  • 5
  • 14
0
votes
0 answers

python file.close() not closing ssmtp.conf (I think?)

My python program is sort of a setup manager for using ssmtp to send emails. so prior to running the program I get the necessary installs: sudo apt-get install ssmtp sudo apt-get install mailutils sudo apt-get install mpack After installing those…