Not receiving my emails

NateMail, ProcessForm, JavaScript Form Validator, Form Security, etc.

Not receiving my emails

Postby shynek » 10/19/2007 @ 10:35

Hello, I am in desperate help to get this page working properly quickly. I am using Process Form 3.0 to send requested samples on my form to our server then along to me in email format. I also want the users to be redirected to a confirmation page after they hit submit. Everything is working properly except I am not receiving my emails. I tried to do the test PHP thing on the FAQ page, and that said that the email was sent successfully, and I did receive that one, but when I filled out the form in a test run, and hit submit I never received that email. It did however, send me to the sample confirmation page. The page is: http://www.citadelap.com/requestsamples.htm
Please help me out!!
Thank you,
Stephanie
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

I spoke with our web server host

Postby shynek » 10/19/2007 @ 15:30

I spoke with the guy who runs our web server, and he said that nothing special needs to be done in order to run PHP. I've looked in the spam filter to my email and still am not receiving any emails. I've tried the Window's version and the Unix version and neither of those work... is my web host guy just confused, he keeps telling me that "I'm not a coder" so he really isn't any help.
Any ideas???
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

Postby Nate Baldwin » 10/19/2007 @ 18:07

Are there any special requirements for sending out emails with PHP? You could do a very simple test to see if PHP is connected to the mail server. Create a new file with a PHP extension and paste in this code:
Code: Select all
$subject = "PHP Mail Test";
$recipient = "you@yourdomain.com";
$message = "Testing PHP configuration...";
$send = mail($recipient, $subject, $message);
if (!$send) die("Could not contact mail server.");
else print("Email Sent!");

...and change the email address to your email address. Upload that file to your server (with a .php extension) and then visit the page in your browser. Does that message go through? If not, which error message is printed to the screen.
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby shynek » 10/22/2007 @ 07:29

I just uploaded it to my server, and it does show...I never sent an email to myself though...not sure if I ran the test right or not? I retried the code, and now get the email in my inbox, but to look at the email it comes through Dreamweaver in a rather messy format, is this supposed to be happening? Plus, I never receive any confirmation page of any sort.
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

Postby Nate Baldwin » 10/22/2007 @ 10:28

You mean the code I pasted in the previous message? If it worked, you should see the words "Email Sent!" in the browser. The email you receive should have a subject of "PHP Mail Test" and the message text should just be "Testing PHP configuration..."

If that's not happening, there's likely a configuration problem on the server (assuming it's not getting caught in your spam filters).
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby shynek » 10/22/2007 @ 10:52

When I do the php_mail_test.php that I got with the entire download packet, I do get the successful emails then.

On my page now, when I hit submit it goes though the Microsoft Outlook warning saying that it was going to send my email, then I click OK. I do get an email in my inbox, but I can only open it using Dreamweaver, and it's in a very messy format. What is causing this? Is there a fix to this problem?
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

Postby Nate Baldwin » 10/22/2007 @ 11:16

I'm sorry, I don't know. Not getting the same issues here.
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby shynek » 10/22/2007 @ 12:01

Alright, if it works for you, I assume it will work for others. Were you redirected to my confirmation page?
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

Postby Nate Baldwin » 10/22/2007 @ 13:49

I'm talking about the test script. If you're referring to your form page, it's currently not using ProcessForm - it's using a mailto: action in the form tag, which just dumps all the data over to your email program.

You've got 2 form tags on your page. One is wrapped around the top navigation, and it's pointing to ProcessForm, but all the form fields and submit button are in a second set of form tags that are using the mailto action.
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby shynek » 10/22/2007 @ 14:04

Ok, I found the "mailto" and changed it. Sorry for all my confusion, it works now!!! Thank you so much Nate, you're awesome!!!!!! :D
shynek
 
Posts: 12
Joined: 10/19/2007 @ 10:31

Postby Nate Baldwin » 10/22/2007 @ 14:28

Cool - sorry, I was confused too. Glad it's working now :-)
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby spxds » 11/01/2007 @ 00:11

I am also having problems not getting any mail from the script and my host told me that they block double newlines in the mail headers.
spxds
 
Posts: 3
Joined: 11/01/2007 @ 00:07

Postby Nate Baldwin » 11/01/2007 @ 10:11

Which version of which script are you using? I can give you instructions for how to eliminate that...
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby spxds » 11/01/2007 @ 17:30

I'm using

NateMail 3.0.14
spxds
 
Posts: 3
Joined: 11/01/2007 @ 00:07

Postby Nate Baldwin » 11/01/2007 @ 17:52

Line 602 should look something like this:
Code: Select all
$headers .= "Content-Transfer-Encoding: 7bit$le$le";


Try changing that to:
Code: Select all
$headers .= "Content-Transfer-Encoding: 7bit";


(remove the 2 $le variables near the end)
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby spxds » 11/02/2007 @ 13:40

it worked thanks!
spxds
 
Posts: 3
Joined: 11/01/2007 @ 00:07


Return to Form Processing (NateMail, ProcessForm)



Who is online

Users browsing this forum: No registered users and 1 guest

cron