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
27
votes
4 answers

Sendmail vs SMTP

A rails application in production should use smtp or sendmail to send mails?
dwaynemac
  • 1,076
  • 1
  • 13
  • 24
23
votes
1 answer

Change sendmail sender using bash

Running the sendmail command I usually get emails with sender like username@hostname. Is there a way to send emails using sendmail and having the sender set to something different from the user account used to run the command?
ztank1013
  • 6,939
  • 2
  • 22
  • 20
21
votes
2 answers

How to send mail after Laravel 5 default registration?

I'm noob in Laravel and working with Laravel 5. For user registration and and login, I want to use default system of laravel. But, need to extend it with two following features: User will get an email just after registration. Upon saving of user…
Sovon
  • 1,804
  • 1
  • 22
  • 30
18
votes
2 answers

What benefits can I take from SmtpClient.SendAsync's userToken object?

I was using SMTPClient.Send(mail) method to send emails, but then I saw, if the email id is not present (does not exists), my application waits till it receives the exception and then allows user to perform further tasks. So I thought of using…
Nagaraj Tantri
  • 5,172
  • 12
  • 54
  • 78
18
votes
5 answers

Sending mail takes long time in localhost

I am using Ubuntu.I installed sendmail in my local host using the following command sudo apt-get install sendmail Now I would like to check whether mail goes from my localhost using following php code.
mymotherland
  • 7,968
  • 14
  • 65
  • 122
18
votes
4 answers

Relay access denied on sending mail, Other domain outside of network

Sending mail results in error "Relay access denied". It throws "Relay access denied", whenever I tried to send mail to "other_domain" from "outside_network". It works just fine for "myown_domain" from "outside/inside_network" and to "other_domain"…
man19688
  • 301
  • 1
  • 2
  • 6
17
votes
6 answers

How to get sendmail working in Alpine Docker container?

I just want to send simple email for testing purposes, but when executing sendmail inside the container, I get sendmail: can't connect to remote host (127.0.0.1): Connection refused. What do I need to take into account when using sendmail inside…
Kitanotori
  • 1,741
  • 5
  • 16
  • 23
17
votes
1 answer

Java Send Email Illegal semicolon?

I'm trying to send emails with java from database. After I run my main method for some reason I'm getting this error: Exception in thread "main" javax.mail.internet.AddressException: Illegal semicolon, not in group in string…
espresso_coffee
  • 5,980
  • 11
  • 83
  • 193
17
votes
6 answers

How to send email from MVC 5 application

I have a form that a customer is required to fill out. Once the form is submitted, I'd like to send the basic information from the form's Index view (First Name, Last Name, Phone Number, etc..) to an email. I'm currently using GoDaddy for my…
dc922
  • 629
  • 3
  • 14
  • 27
17
votes
3 answers

Sending Activation Email , SMTP server did not accept the password

I'm sending an email using CakePHP and I got an Error: SMTP server did not accept the password, along with an email in my inbox says that: sign-in attempt blocked! , we recently blocked a sign-in attempt to your Google Account. Is that normal? I'm…
Exchanger13
  • 337
  • 1
  • 2
  • 13
16
votes
7 answers

PHP mail function not working on Centos server

I am using centos Server and have to send the mail to the user so i copied running code of mine from one server and used it in here, but it is not sending mails. Code is : $to = $email; //writing mail to the user …
Astha
  • 1,728
  • 5
  • 17
  • 36
16
votes
4 answers

Send mail via CMD console

Hi i want to send mail via microsoft cmd console. I tried many way, but i didnt succeed. i tried this article http://jpsoft.com/help/index.htm?sendmail.htm sendmail "bob@bob.com bcc:joe@joe.com" Test Hello! the error is : 'sendmail' is not…
user1479273
  • 205
  • 1
  • 2
  • 9
15
votes
3 answers

VBScript to send email without running Outlook

I have written an automated test that runs each night, and I would like to email the results each night once the test is finished. In order to do this I attempted to put the following at the end of my batchfile: Set MyApp =…
user856354
  • 273
  • 3
  • 6
  • 21
14
votes
6 answers

mail() fails, but returns true

I am trying to use the php mail() function on my server. Weirdly, it returns true but I do not receive anything in my email inbox. Yet the cpanel email forwarder is working fine. So prolly it's not a configuration thing since the forwarder sends me…
John
  • 141
  • 1
  • 1
  • 3
13
votes
5 answers

Send Email From Amazon SES in ASP.NET MVC App

I host my web app which is written in .net mvc2 on amazon ec2. currrently use gmail smtp to send email. beacuse of google for startup email quota cant send more than 500 email a day. So decide to move amazon ses. How can use amazon ses with asp.net…
gandil
  • 5,398
  • 5
  • 24
  • 46