Greetings folks. I seem to be having a problem with PHP's mail()
function and sending 'From' headers properly. Here's my setup:
I have a site I set up for a client that has a form their clients can
fill out to submit some data. When the form is submitted, I have PHP
gather the data and create
**Apologies if this posts twice. I got some crazy response from the
server after sending this the first time.**
I have a site I set up for a client that has a form their clients can
fill out to submit some data. When the form is submitted, I have PHP
gather the data and create the body of an
You missed the period in your header to join the name and the line break??
'From: [EMAIL PROTECTED]' . \r\n
On 7/7/08, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
I have a
On Mon, Jul 7, 2008 at 2:06 PM, Dan Shirah [EMAIL PROTECTED] wrote:
You missed the period in your header to join the name and the line break??
That's not required, since the OP is using double quotes
(translation will occur).
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB
On Mon, Jul 7, 2008 at 2:06 PM, Dan Shirah [EMAIL PROTECTED] wrote:
You missed the period in your header to join the name and the line break??
'From: [EMAIL PROTECTED]' . \r\n
On 7/7/08, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail()
On Mon, Jul 7, 2008 at 1:50 PM, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
[snip!]
I am getting bounce emails from certain ISPs (AOL, Roadrunner, some local
ISPs) saying
On Mon, Jul 7, 2008 at 2:13 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Mon, Jul 7, 2008 at 1:50 PM, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
[snip!]
I am getting
On Mon, Jul 7, 2008 at 2:17 PM, Eric Butera [EMAIL PROTECTED] wrote:
Yep! Just a note on this though. You have to control the domain
you're forcing the return-path on or else it will get rejected by a
lot of servers because of SPF rules. It has bit my company in the
behind quite a bit
On 7 Jul 2008, at 18:50, Jay Moore wrote:
Greetings folks. I seem to be having a problem with PHP's mail()
function and sending 'From' headers properly. Here's my setup:
I have a site I set up for a client that has a form their clients
can fill out to submit some data. When the form is
?php
$to = [EMAIL PROTECTED];
$from = [EMAIL PROTECTED];
$subject = This is a test!;
$body = \tThis is a test email.\n;
$body .= That is all.;
$headers = From: .$from.\r\n;
$headers .= Reply-To: .$from.\r\n;
$headers .= X-Mailer: .basename(__FILE__).-PHP/.phpversion().\r\n;
10 matches
Mail list logo