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

Expected response code 235 but got code 535 laravel send email using office365 smtp

I want to send email using my office365 smtp credentials in laravel application. i have make changes in my .env file for email settings as…
Adarsh Bhatt
  • 548
  • 1
  • 9
  • 30
10
votes
2 answers

EC2 - Fresh PHP install - Mail not working

I am getting familiar with Amazons EC2. I installed a LAMP setup but when I try to send emails through the mail() function that I have in my pages it does not work. I checked and sendmail is running and is on the phpinfo page. I have tried changing…
Quinton Pike
  • 3,823
  • 8
  • 31
  • 37
10
votes
2 answers

how to send email directly in React Native App

I am progromming about function: send Email to gmail Address directly from React native App. I searched on Internet and try library: https://github.com/anarchicknight/react-native-communications,…
vannguyen
  • 356
  • 2
  • 6
  • 20
10
votes
5 answers

Postfix Ignores PHP mail() function

I'm successfully sending mail using PHP using the mail() function but the sending is showing up as the server address and not what I have configured in the script. Postfix is installed on the apache server. On ServerFault answer I read to use the…
Rocco The Taco
  • 3,695
  • 13
  • 46
  • 79
10
votes
5 answers

Sending mail error, javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;

Here is my code import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import…
Ketan G
  • 507
  • 1
  • 5
  • 21
10
votes
4 answers

There was an error sending email from "bugzilla-daemon" to "abc@xyz.com": no sender

I'd like to research about bugzilla. So I use bugzilla-5.0 to setup my bugzilla in local VM. But When I tried to create a bug or comment something in bugzilla. It noticed that: There was an error sending email from "bugzilla-daemon" to…
Jason Dang
  • 103
  • 1
  • 1
  • 6
10
votes
3 answers

OctoberCMS Post Form

My form:
I cant seem to get a form to post; where do I place this file? Which file do I edit to make it send the form data fields to…
T2T
  • 115
  • 1
  • 1
  • 6
10
votes
5 answers

Send Mail Using Amazon EC2 Instance

I am using Amazon EC2 Instance for one of my project, I have installed LAMP on linux server and now while I am trying to send email using simple function it is not sending email also is not giving any error for that. Things I have done so…
sourabh kasliwal
  • 947
  • 3
  • 8
  • 21
10
votes
7 answers

Embedding an image in an email using linux commands

Is there a way to embed images into the body of an email using linux commands like mutt or sendmail? I used this mutt -e 'set content_type="text/image"' \ u.mohan@6dtech.co.in -s "TEST" \ -i image001.jpg < data.txt but it's not working.
unnismohan
  • 113
  • 2
  • 2
  • 7
10
votes
1 answer

How to exit from linux sendmail on centos 6

I was looking up something here on stack overflow and the answer told me to enter sendmail -bt in the shell. I was able to do what the question said but now I'm unable to exit the sendmail program. CTRL+c, CTRL+x, q, exit, bye, quit does not seem…
DiverseAndRemote.com
  • 19,314
  • 10
  • 61
  • 70
10
votes
5 answers

How can apache be allowed to send email?

I have a CentOS 6.2 virtual machine running Apache 2.2 and PHP 5.3 that I'm trying to send email from via PHP's mail() function. I can send email from the CLI without problems but when PHP tries it fails. In the sendmail log is the following: Oct 9…
dev_willis
  • 530
  • 4
  • 6
  • 18
10
votes
4 answers

Proper prevention of mail injection in PHP

Could you advise me how do I go about preventing email injection in PHP mail() without losing original message data? E.g. if I need to allow user to use \r\n, To, CC etc, so I do not want to completely strip them away from the message - I still want…
Atm
  • 183
  • 1
  • 10
10
votes
2 answers

Using sendmail for HTML body and binary attachment

Objective: To send mail (using sendmail) with HTML body and binary attachment. Followed the guidelines specified in the following…
compuneo
  • 351
  • 1
  • 3
  • 13
9
votes
3 answers

How to configure php.ini file for mail() in MAC OS?

I'm using MAC OS and using mail() to send the student details to my mail. It does not shows any errors, but the details are not sent to mail. Is there any setup in php.ini for SMTP settings?
M S Reddy
  • 197
  • 1
  • 4
  • 14
9
votes
2 answers

This message does not have authentication information or fails to 550-5.7.26 pass authentication checks

I have problem with google and I can't send email to any gmail or Gsuite emails got report from mail server log Feb 17 12:16:30 server postfix/smtp[19451]: 853E35E55A: to=, relay=aspmx.l.google.com[209.85.144.27]:25, delay=0.38,…
ezak
  • 133
  • 1
  • 1
  • 9