Forums

[SOLVED] second email missing "from" and "subject" in header

wdemilly 12 Mar, 2010
Not sure what I had done wrong first time but I recreated the second email and the form worked properly.
----------------



I've set up a form with two email templates. One goes to me (webmaster) and the second goes to the person who submitted the form.

In the second email, I'm using Dynamics ... to, from name, subject, and from email.

The second email is delivered to the right address, but without the header (from, from name, and subject).

Following is the debug info, and below that the second email:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [name] => xxxxx [emailconfirm] => xxxxx@gmail.com [email] => xxxxx@gmail.com [check0] => Array ( [0] => I have Read and Understand the Disclaimer Above ) [addnumbers] => 4 [button_5] => Submit [538670fc7a07ffbcc643c8f44c5ae32b] => 1 [1cf1] => 8d20b56e851fa9ee8f88a109a82209d8 [chronoformname] => Confirm ) 
$_FILES Array: Array ( ) 
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (xxxxxxxx.com)noreply@xxxxxx.com to admin@xxxxxxx.com
An email has been SENT successfully from () to xxxx@gmail.com
Debug End



From: []
To: wxxx@gmail.com
CC: 
BCC: 
Subject: 




By the way, I'm using a simple verification script which requires the form submitter to add two numbers before the form can be submitted. I'm assuming this isn't the problem.


In an attempt to solve the problem, I tried using non-dynamic "from" and "subject" but that didn't work.

Thanks for any help!
GreyHead 12 Mar, 2010
Hi wdemilly,

Glad you solved this. Hard to tell what was happening without seeing the email setup :-(

I am a bit surprised that emails were sent at all without those headers. In my experience the mailer usually rejects them.

Bob
This topic is locked and no more replies can be posted.