Questions tagged [ssmtp]

82 questions
0
votes
1 answer

Cannot send emails to a gmail account through command line

I have edited ssmtp.conf file with all the details needed and configured ssmtp ! But when i enter [root@localhost ssmtp]# ssmtp user@gmail.com message in terminal it prompts me with this error!! [root@localhost ssmtp]# bash: ssmtp: command…
kartik
  • 55
  • 4
0
votes
2 answers

Does a rails production.log store indefinitely?

If it doesn't, what's the half-life of it? It it does, where can find that information? On my server I found a few logs for each of my releases. But they only date back a few days. Specifically, I am looking for emails that were sent while my mail…
Trip
  • 26,756
  • 46
  • 158
  • 277
0
votes
3 answers

sSMTP From: header not working

I am having issues with my sSMTP setup. It is working fine for sending e-mails, i am receiving them, but it completely ignores my "From: " header! The from address is always "http@mydomain.com" if sSMPT is triggered through the php mail function or…
ultramizer
  • 31
  • 8
0
votes
1 answer

Use ssmtp in ubuntu when user clicks on mailto: html tag

I've set up an ubuntu machine with ssmtp. My website has a mailto tag that is asking the browser how it wants to send the email, but I want it to be sent automatically using ssmtp settings without asking the user.
nano
  • 2,511
  • 4
  • 25
  • 42
0
votes
2 answers

Error sending email by calling a bash script

My sendmail.sh script on Raspbian OS is able to successfully send an email. But when it's called from a python script, I get a "mail: can not send message: process exited with non zero status" error message. I have verified that ssmtp is configured…
0
votes
2 answers

Installing sSMTP from SSH

I'm on a Web Hosting Buzz reseller account. They have some very stringent mail sending rules, including blocking of authenticated SMTP socket mail sending using PEAR. It was suggested in WHB forum that this was possible with sSMTP. I've since gotten…
James Fu
  • 214
  • 3
  • 11
0
votes
2 answers

How to setup SSMTP on Debian/Respbian for domain other than GMail

Folks....I posted this question on the Raspberry Pi forum and got no replies. Hopefully you can help me? I'm using a Raspberry Pi B+ running Raspbian OS. I have set up e-mail using this link: http://rpi.tnet.com/project/faqs/smtp sudo apt-get…
RDK
  • 355
  • 2
  • 7
  • 24
0
votes
0 answers

ssmtp issue sending mail from command line and php

I am having an issue with the following statement in the command line: echo 'Subject: test' | /usr/sbin/sendmail -v @gmail.com it is returning the following: # echo 'Subject: test' | /usr/sbin/sendmail -v @gmail.com [<-] 220…
camihan
  • 57
  • 1
  • 7
0
votes
1 answer

Mail is sending as localhost from Ubuntu server

Hello I am sending a mail from my server. If I run it directly on the server I get a proper url but when the cronjob is processed the url is with local host. I am using CodeIgniter framework running on Ubuntu 13.04 with ssmtp This is my encode…
David
  • 840
  • 6
  • 17
  • 37
0
votes
3 answers

unable to send mail via php and ssmtp

There are no errors in my code from what I can find and my local ssmpt client is configured and I can send mail via the command line. But no mail and no error come from php at all. It's as though php never hits this local mailer. I 'do' have my…
brad
  • 870
  • 2
  • 13
  • 38
0
votes
2 answers

PHP mail keeps hanging

From php.ini sendmail_path = /usr/sbin/ssmtp -t The code, which keeps hanging in the browser (I even changed this file to 777)
Terence
  • 10,533
  • 1
  • 14
  • 20
0
votes
1 answer

rails action mailer problem

My application mailer works fine in development on my own machine but on the server it doesn't work the way I want. I know the server is perfectly capable of relaying the emails requested because I can get it to work directly from the command line…
holden
  • 13,471
  • 22
  • 98
  • 160
0
votes
0 answers

Cronjob to run python script that sends email via sSMTP?

So, I wrote a very small python script that runs a system command whenever it detects a file being over 0 bytes. Tried to schedule a cronjob to run it, but for whatever reason it doesn't work -- what am I doing wrong?? Python script…
Ben
  • 157
  • 1
  • 1
  • 13
0
votes
4 answers

Send HTML mails using PHP

Possible Duplicate: Sending HTML email from PHP I am sending emails using php through my gmail account. And I am using ssmtp other than sendmail. I am using following php code to send the mail. $to = "mymail@gmail.com"; $from =…
harsh
  • 2,399
  • 9
  • 29
  • 47
-1
votes
1 answer

ssmtp cuts the email i'm sending

so here's the whole text i'm sending: and here's the email i'm receiving: basically i just cat the file and echo then pipe it to ssmtp like this: result=`cat file.out` echo "$result" | ssmtp $emailaddr
jeremybcenteno
  • 119
  • 4
  • 15