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
5
votes
1 answer

SendGrid API v3: Reply to a thread

I am trying to send an email as a reply to a previous thread using SendGrid v3 APIs. But it always shows as a new email thread in Outlook. I am using "Message-ID", "In-Reply-To" and "References" fields but it always fails to show under single…
5
votes
2 answers

Mass mail sending from linux

i've been running a website for the last years which have grow up significally. Right now in my database i have about 40k emails and i'm planning to send emails to those people which get subcrived to some sort of feeds. The idea is to be able to…
peris
  • 943
  • 3
  • 20
  • 33
5
votes
2 answers

sendmail: OpenSSL::SSL::SSLError: hostname was not match

I have a vps with ubuntu 10.04. i'm tring to install a rails 3 application If i try to test the sendmail command from terminal it works. In my application,for the mail, i have inserted in application.rb file: config.action_mailer.delivery_method =…
Luca Romagnoli
  • 12,145
  • 30
  • 95
  • 157
5
votes
1 answer

What's the correct configuration to send emails using Sendmail in Laravel?

I am using Laravel 7 and I want to send an email using the Sendemail driver via Laravel Mail facade. It worked when I used the PHP mail function but I want to use the Laravel Mail facade instead. My .env file email…
Amir
  • 473
  • 2
  • 11
  • 24
5
votes
4 answers

best practice to send fancy email in ASP.NET & MVC

HI, I want to send a very fancy email to users. thats look and feel is same as a web page. one very bad way to use StringBuilder and append text in it. but i am in search of a best practice solution. where the page is easy to redesign. I need…
Saboor Awan
  • 1,567
  • 4
  • 24
  • 37
5
votes
1 answer

error when sending email in python: 'bytes' object has no attribute 'encode'

I need to send out an email in python3, below is the script and it failed with an error of: 'bytes' object has no attribute 'encode' import smtplib from email.mime.text import MIMEText from email.message import EmailMessage att1 =…
mdivk
  • 3,545
  • 8
  • 53
  • 91
5
votes
4 answers

How to configure MAILER_URL in .env file of Symfony 4 to send e-mails via sendmail with Swift_Mailer?

I am working on a Symfony 4 app using Swift_Mailer to send e-mails with. Since there is no possibility in my case to use SMTP (don't ask why…) I have to use something like sendmail. By default the config of Swift Mailer is done in Symfony's .env…
Arvid
  • 1,021
  • 2
  • 17
  • 25
5
votes
3 answers

Rails mail attachment is in e-mail body

I need to send simple mail with an attachment. Right now it sends an email but attachment is in the e-mail body like this. -- Content-Type: text/csv; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; …
5
votes
4 answers

Handling contact form in Django, email not sent

I have an application whereby a user can contact me by filling out a form and in the form the user just has to fill in his details and his email and subject. The code throws no error but I could not receive the mail after setting up everything, but…
King
  • 1,885
  • 3
  • 27
  • 84
5
votes
4 answers

Problem sending email with Codeigniter - Headers sent in the message body

Having a strange issue with the email class in codeigniter. When I send email directly to my gmail account email address, it works fine. However if I send email to a different email address and use POP3 to import that email address into gmail, then…
Brian
  • 953
  • 4
  • 15
  • 35
5
votes
2 answers

Changing sender's email address in Magento

Right now when Magento sends new account confirmation, order details, etc. to customers, it goes out from abccompany@bluehost.com. We'd like to send it from support@abccompany.com. How to achieve this?
ekalaivan
  • 443
  • 1
  • 6
  • 17
5
votes
5 answers

Basic mail function (PHP) additional "-f" parameter question

Is the -f additional parameter correctly set in this mail function. @mail("example@exmaple.com.uy",$title,$body,$headers,"-f"); I am Getting the X Warning from some servers. Sorry for the basic question but some parts of the documentation got me…
Trufa
  • 39,971
  • 43
  • 126
  • 190
5
votes
2 answers

How to let ansible answer "yes" to everything sendmailconfig asks

I'm setting up a server with ansible, and I want to install and configure sendmail. To do this I first install it using apt, and then I need to run sendmailconfig AND asnwer y to all the questions it asks. That last part is the hardest I think.…
kramer65
  • 50,427
  • 120
  • 308
  • 488
5
votes
2 answers

'from_email' not showing with 'send_mail' smtp

I have set up smtp with gmail. When I use send_mail the from email is not showing up in the account receiving the email. Django settings.py # DEFAULT_FROM_EMAIL = 'sendTo@gmail.com' EMAIL_BACKEND =…
Shane G
  • 3,129
  • 10
  • 43
  • 85
5
votes
4 answers

Simulating sendmail with dummy script

I created a small shell script which logs all of it's input to a log file, with which I had thought I could replace the sendmail binary and thus achieve a simple way to simulate e-mail delivery without actually setting up a working sendmail. This…
nikc.org
  • 16,462
  • 6
  • 50
  • 83