Questions tagged [sendmail]

DO NOT use as a general tag for sending email. This is about "sendmail", the general purpose email routing facility that supports mail transport via TCP/IP using SMTP

sendmail is a popular Unix-based email routing facility that makes use of and supports the transfer and delivery of email via the Simple Mail Transfer Protocol (SMTP).

sendmail exists both as free and open source software and as a commercial project, called Sendmail.

Tag usage

The tag sendmail can be used for all programming related problems. The tag can also be used for setting up a simple mail server. Please note that https://serverfault.com/ is another Stack Exchange website where you can ask especially configuration specific problems.

2991 questions
7
votes
2 answers

How to send mail from iphone app without showing MFMailComposeViewController?

I want to send mail from my custom iPhone app. I have used MFMailComposeViewController to send mail from my iphone in my previous app. Now, i don't want to show the MFMailComposeViewController to the user, if they click Send Mail button the mail…
Yuvaraj.M
  • 9,741
  • 16
  • 71
  • 100
7
votes
3 answers

What's the best way send email from the database in SQL Server 2008 R2?

Migrating a legacy database from SQL Server 2000, and there are a few scheduled tasks that use SP_OACreate & CDOSYS to send emails to an open SMTP relay as in this KB article: http://support.microsoft.com/kb/312839 In SQL Server 2008 R2, what's the…
matao
  • 636
  • 3
  • 14
  • 22
7
votes
2 answers

Sendmail Pipe to PHP: Could not open input file

I've installed sendmail and want to pipe incoming emails to php. Every time I send an email to my server I am getting an email back with an error message: could not open input file: /root/fw/catcher.php 554 5.3.0 unknown mailer error 1 I think…
T K
  • 618
  • 7
  • 20
7
votes
2 answers

how to find out if PHP and sendmail are working together?

When I use the terminal to send an e-mail things work correctly. I use the following command: echo "Subject: test" | /usr/lib/sendmail -v you@domain.com But when I try this in PHP: PHP DOCUMENTATION:
hsmit
  • 3,906
  • 7
  • 34
  • 46
7
votes
1 answer

NodeMailer queuing outgoing email, but email never sends

I'm trying to send an email from my own domain without using an external SMTP server. I'm using NodeMailer's SMTP connection: let options = { secure: true, port: consts.portOut,//465 host: consts.host, //mydomain.com transactionLog:…
now_world
  • 940
  • 7
  • 21
  • 56
7
votes
3 answers

Most reliable way to deliver emails from a users email address in rails?

I would like to allow users to send emails which are generated in my rails app from their email address . I know I can just use my servers sendmail, and set the from address to their email address, but there is a high chance the emails will be…
David Barlow
  • 4,914
  • 1
  • 28
  • 24
7
votes
1 answer

Difference between mailx and sendmail?

What is the difference between mailx and sendmail? Which one is the most efficient(Performance standpoint) to send emails?
MukeshKoshyM
  • 514
  • 1
  • 8
  • 16
7
votes
2 answers

PHP Mail function fails with exim4

PHP Mail function fails after I upgrade my Debian web server to jessie. The software versions are, Apache2 : 2.4 Php : 5.6 Exim4: 4.8 This web server has multiple websites and I use libapache2-mpm-itk module to run php by different users for each…
Yasiru G
  • 6,886
  • 6
  • 23
  • 43
7
votes
2 answers

Slow sendmail performance (javamail) with different mail api jars

I am testing the sendmail example as stated in https://javaee.github.io/javamail/FAQ. It is a simple mail sending operation, without SSL and no attachments. It works fine everywhere but on client we have a degreading performance when the mail api…
benchpresser
  • 2,171
  • 2
  • 23
  • 41
7
votes
4 answers

Can I use Google Apps for domain Email and still use a "sendmail" server to send emails?

I am using Google Apps for domain to host the email from my domain and I've setup the MX records on my site according to the Google documentation. Can I also use a "sendmail" server to send additional emails from my webserver without there being a…
MikeN
  • 45,039
  • 49
  • 151
  • 227
7
votes
4 answers

How to resend dropped emails in mailgun

How to resend dropped emails in mailgun? I am using mailgun to send mails in my application,but some mails are dropped. Is there any method to resend the dropped mails?
Nandakumar R
  • 93
  • 1
  • 4
7
votes
2 answers

Sending mail without authentication using nodejs

I'm able to send email with any email address without password in a Linux machine using sendmail. Is there any option like this to do it programmatically using node.js in windows?
NagaLakshmi
  • 715
  • 3
  • 12
  • 24
7
votes
1 answer

Embedding image in email Python

Code used for sending an image embedded email using python is given below. from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage # Define these once; use them twice! strFrom =…
Nidhin Joseph
  • 1,461
  • 3
  • 15
  • 32
7
votes
1 answer

Using 'git send-mail', but I am getting an error

I am trying to use git send-mail, but I am getting this error: Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /Library/Developer/CommandLineTools/usr/../Library/Perl/5.16/darwin-thread-multi-2level …
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197
7
votes
2 answers

Google App Engine: Sendmail, command not found

I'm trying to get sendmail working on localhost. The problem is that the app engine has det wrong path to sendmail, since it throws the error: /bin/sh: sendmail: command not found Using Mac OS X, the path to sendmail is: /usr/sbin/sendmail Does…
fredrik
  • 17,537
  • 9
  • 51
  • 71