Question
PHP Mail error, tried sendmail, mailx, postfix
Hi,
i use CentOS Droplet with NGINX and i tried this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-postfix-on-centos-6
but i failed with error.
i tried to use sendmail config
but it did nothing, i have been waiting but no response so i ^C
Would you please help me to configure it
so i can use php mail() function to works on all my domains on the droplets?
Thank You
ERROR OUTPUT at /var/spooler/mail/
From MAILER-DAEMON@FROZENFIRE Thu Jul 23 22:40:20 2015
Return-Path: <MAILER-DAEMON@FROZENFIRE>
Received: from localhost (localhost)
by FROZENFIRE (8.14.7/8.14.7) id t6NFeKJ6021755;
Thu, 23 Jul 2015 22:40:20 +0700
Date: Thu, 23 Jul 2015 22:40:20 +0700
From: Mail Delivery Subsystem <MAILER-DAEMON@FROZENFIRE>
Message-Id: <201507231540.t6NFeKJ6021755@FROZENFIRE>
To: <apache@FROZENFIRE>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="t6NFeKJ6021755.1437666020/FROZENFIRE"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--t6NFeKJ6021755.1437666020/FROZENFIRE
The original message was received at Thu, 23 Jul 2015 22:40:19 +0700
from FROZENFIRE [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<testtest123123@yahoo.co.id>
(reason: 501 Syntax error in parameters or arguments)
----- Transcript of session follows -----
... while talking to mx-apac.mail.gm0.yahoodns.net.:
>>> MAIL From:<apache@FROZENFIRE> SIZE=768
<<< 501 Syntax error in parameters or arguments
501 5.6.0 Data format error
--t6NFeKJ6021755.1437666020/FROZENFIRE
Content-Type: message/delivery-status
Reporting-MTA: dns; FROZENFIRE
Received-From-MTA: DNS; FROZENFIRE
Arrival-Date: Thu, 23 Jul 2015 22:40:19 +0700
Final-Recipient: RFC822; testtest123123@yahoo.co.id
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 Syntax error in parameters or arguments
Last-Attempt-Date: Thu, 23 Jul 2015 22:40:20 +0700
--t6NFeKJ6021755.1437666020/FROZENFIRE
Content-Type: message/rfc822
Return-Path: <apache@FROZENFIRE>
Received: from FROZENFIRE (FROZENFIRE [127.0.0.1])
by FROZENFIRE (8.14.7/8.14.7) with ESMTP id t6NFeJJ6021753
for <testtest123123@yahoo.co.id>; Thu, 23 Jul 2015 22:40:19 +0700
Received: (from apache@localhost)
by FROZENFIRE (8.14.7/8.14.7/Submit) id t6NFeJpv021720;
Thu, 23 Jul 2015 22:40:19 +0700
Date: Thu, 23 Jul 2015 22:40:19 +0700
Message-Id: <201507231540.t6NFeJpv021720@FROZENFIRE>
To: testtest123123@yahoo.co.id
Subject: Hii
X-PHP-Originating-Script: 0:tm.php
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: Team <test@frozenfire.us";>">
<table>
<tr><td> Hello ,</td></tr>
<tr><td> Some Text </td></tr>
<tr><td> Some Text </td></tr>
<tr><td> Some Text </td></tr>
<tr><td> Some Text </td></tr>
</table>
--t6NFeKJ6021755.1437666020/FROZENFIRE--
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×