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

how to send an email using my server's domain in nodejs

So I have a server with ip, domain(www.example-sato.com), and have a nodejs/express.js app running on it. When user registers I would like to send an email to the user with an sender like no-reply@example-sato.com. What generally should I…
Sato
  • 8,192
  • 17
  • 60
  • 115
5
votes
3 answers

SwiftMailer, PhpMailer, etc: Difference between mail() and sendmail

I often read that PHP's mail()-Function uses sendmail internally. So why do Mail-Libraries like SwiftMailer, PhpMailer, etc give us the chance to CHOOSE between mail() and sendmail? Isn't it the same thing? Never heard anyone saying that it's NOT…
5
votes
3 answers

Send an e-mail with rtf text in delphi

I would like to perform the following task: converting a TRichEdit content (an rtf text) into a not-plain-text e-mail message body. MAPI doesn't support rtf, but is there a way to do it maybe with Indy? The problem is that rtf is rtf and emails are…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
1 answer

Unable to use git send-email to send source code and patches

I have a directory created locally: /home/Tegra. I have created following Files inside /home/Tegra: hello_world.c hello_world_1.c hello_world_2.c Each file is incrementally modified. I have also created patches as: diff -u hello_world.c…
Haswell
  • 1,573
  • 1
  • 18
  • 45
5
votes
2 answers

Sending mail in bash script outputs literal \n instead of a new line

I am using the following bash script to send an email #!/bin/bash recipients="me@web.com, you@web.com" subject="Just a Test" from="test@test.com" message_txt="This is just a test.\n Goodbye!" /usr/sbin/sendmail "$recipients" << EOF …
Grant
  • 1,297
  • 2
  • 16
  • 39
5
votes
2 answers

Shell script embed multiple image with sendmail

I'm using following script to embed multiple image on a mail using sendmail function. sendmail -t <
sugunan
  • 4,408
  • 6
  • 41
  • 66
5
votes
1 answer

PDF as mail attachment - Laravel

I want to create a PDF using the barryvdh/laravel-dompdf package and send this with an email as attachment. The code I have now is: $pdf = PDF::loadView('layouts.factuur', array('factuur' => $factuur)); Mail::queue('emails.factuur', array('factuur'…
Keith666
  • 77
  • 1
  • 6
5
votes
1 answer

Embed gvis object (image stored as HTML) as inline in mailR - R

I am Working on googleVis Chart and wanted to Embed gvis object (image stored as HTML) as inline using mailR package. I have the below code to send mail from my sever - library(mailR) send.mail(from = "admin_xxx@apsmail.xx.xxx.xx", to =…
5
votes
2 answers

how to use designed template in django using sendgrid API?

I have integrate the send-grid with my Django application and mails also sent successfully. But now I want to send email with designed template from my django application. I have read the docs also, but not get any idea how to use it…
MegaBytes
  • 6,355
  • 2
  • 19
  • 36
5
votes
3 answers

Send email from MySQL trigger when a table updated

Consider a table as table2, i like to add a trigger on this table update as select Num into num from table1 where ID=new.id; BEGIN DECLARE done int default false; DECLARE cur1 CURSOR FOR select EmailId from users where Num=num; DECLARE continue…
user3784251
  • 520
  • 2
  • 10
  • 24
5
votes
2 answers

sendmail in Mac OS X Yosemite

I use the XAMPP stack for web development. I followed this tutorial a while ago to set my machine up to send mail from the localhost. This worked flawlessly under OS X Mavericks, but Yosemite seems to have broken it. I have tried all of the…
Trevor Hutto
  • 2,112
  • 4
  • 21
  • 29
5
votes
1 answer

Send Email Using Smtp Client with Mandrill

I want to send a message using Mandrill.I need the following code to do this: Send the same message to all recipient without Each one of them see the address of the other recipient. I used the following code : System.Net.Mail.MailMessage message =…
5
votes
1 answer

PHP - 553 Relaying disallowed with Zoho mail and MyBB

I'm trying to use Zoho's SMTP servers to send registration emails from a MyBB installation. However, the emails are never sent and when I check the logs I notice that the error is. Month Day Year:Hour:Minute host=smtp.zoho.com tls=on auth=on…
SLC
  • 2,167
  • 2
  • 28
  • 46
5
votes
3 answers

Send Multiple Textbox Values in Mail Body using SMTP

Guys I am trying to send mail through SMTP server. I am sending the mail using this code, using(System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage()) { message.To.Add(textBox1.Text); //TextBox1 = Send To message.Subject =…
NewbieProgrammer
  • 874
  • 2
  • 18
  • 50
5
votes
4 answers

PHP SwiftMailer Failed to authenticate on SMTP server

I am trying to create a test site that handles paypal payment. I am trying to send users an email using PHP SwiftMailer after a successful payment (which is my IPN). Here is my code for the transport: $transport =…
Atasha
  • 489
  • 1
  • 9
  • 28