Yeah, I know such questions have been posted before but a search for "mail()" "PHP mail script" and "PHP mail" haven't given me any answers.
I'm on the Intermediate free account and it tells me that the PHP mail() function should be allowed.
I tried running an extremely basic PHP mail() script as a test and while it returns 'true', the emails never reach my inbox. I checked my spam folder and no new emails are found.
I checked PHPINFO() and see that mail.force_extra_parameters has no parameters, sendmail_from has "no value", and sendmail_path is "/usr/sbin/sendmail -t -i". SMTP is set to port 25, in the suhosin.executor.func.blacklist I see a "mb_send_mail" function, suhosin.mail.protect is "1", and I see a bunch of webmailsession variables in the "PHP Variables" section.
Am I missing something in my account setup? Do I need to enable a certain service in my account? Do I need to be specifying something additional in the PHP mail() function's headers? Is there a specific "PHP mail script" that people are using and if so, where can I find it?
Any help would be greatly appreciated.
Edit:
Well at least I found where the mail was going! I have to use my x10hosting email account when sending mail via a PHP script. I tried doing it with a comcast account along with my username and password for that account but the tests for those are failing with a 550 Administration Access error, likely because x10hosting's mail servers are guarding against people trying to "spoof" an email address? Which makes good sense to me at least.
The emails are being kicked back to the administrative email address for my x10hosting account. I'm not sure if they had been all along or if it didn't start kicking them back there until I created my initial email address for the account or not but for others who are not receiving emails when your PHP script seems to be sending them, try checking your x10hosting account's administrative default email folder first.
Here's the message I get from these delivery errors. I've replaced my comcast email account name with "xxxx" for privacy.
I can't imagine that a comcast email address would be blacklisted or that they are "missing the proper dns entries" (whatever that means).
I saw a similar post made yesterday but no solution to it yet. Any ideas?
Thanks,
Jeff
I'm on the Intermediate free account and it tells me that the PHP mail() function should be allowed.
I tried running an extremely basic PHP mail() script as a test and while it returns 'true', the emails never reach my inbox. I checked my spam folder and no new emails are found.
I checked PHPINFO() and see that mail.force_extra_parameters has no parameters, sendmail_from has "no value", and sendmail_path is "/usr/sbin/sendmail -t -i". SMTP is set to port 25, in the suhosin.executor.func.blacklist I see a "mb_send_mail" function, suhosin.mail.protect is "1", and I see a bunch of webmailsession variables in the "PHP Variables" section.
Am I missing something in my account setup? Do I need to enable a certain service in my account? Do I need to be specifying something additional in the PHP mail() function's headers? Is there a specific "PHP mail script" that people are using and if so, where can I find it?
Any help would be greatly appreciated.
Edit:
Well at least I found where the mail was going! I have to use my x10hosting email account when sending mail via a PHP script. I tried doing it with a comcast account along with my username and password for that account but the tests for those are failing with a 550 Administration Access error, likely because x10hosting's mail servers are guarding against people trying to "spoof" an email address? Which makes good sense to me at least.
The emails are being kicked back to the administrative email address for my x10hosting account. I'm not sure if they had been all along or if it didn't start kicking them back there until I created my initial email address for the account or not but for others who are not receiving emails when your PHP script seems to be sending them, try checking your x10hosting account's administrative default email folder first.
Here's the message I get from these delivery errors. I've replaced my comcast email account name with "xxxx" for privacy.
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
xxxx@comcast.net
The mail server could not deliver mail to xxxx@comcast.net. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
------ This is a copy of the message, including all the headers. ------
Return-path: <epoclaen@giftlist.x10hosting.com>
Received: from localhost ([127.0.0.1]:59724 helo=[74.86.116.190])
by cossacks.x10hosting with esmtpa (Exim 4.68)
(envelope-from <epoclaen@giftlist.x10hosting.com>)
id 1IwGqu-0000S5-GL
for xxxx@comcast.net; Sun, 25 Nov 2007 06:44:48 -0600
Received: from [74.86.116.190] ([74.86.116.190] helo=[74.86.116.190]) by
ASSP.at.cossacks.x10hosting; 25 Nov 2007 06:44:48 -0600
To: Jeff - to <xxxx@comcast.net>
From: Jeff - from <epoclaen@giftlist.x10hosting.com>
Reply-To: Jeff - from <epoclaen@giftlist.x10hosting.com>
Subject: Smoke Test 1 - Basic
Date: Sun, 25 Nov 2007 07:44:48 -0500
X-LibVersion: 3.3.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <20071125124448.1740.1418858202.swift@giftlist.x10hosting.com>
X-Assp-Whitelisted: Yes
X-Assp-Envelope-From: epoclaen@giftlist.x10hosting.com
X-Assp-Intended-For: xxxx@comcast.net
This is just a basic test
It has two lines and no special non-ascii characters.
I can't imagine that a comcast email address would be blacklisted or that they are "missing the proper dns entries" (whatever that means).
I saw a similar post made yesterday but no solution to it yet. Any ideas?
Thanks,
Jeff
Last edited: