PDA

View Full Version : PHP Help ( e-mail)



E-vOl
October 1st, 2003, 04:07 PM
Hello everybody, my question is I have been looking at the PhP TUT that Vash did on one of the threads. The thing is itsnot working for me.

I did everything he said and my sever does supprot PHP.

I uploaded the php file through Dreamweaver MX and also the file where the e-mail form is in and one last question is it suppose to reset or click after you push the send button. or do I have to do that.

Can somebody please help me.

Jubba
October 1st, 2003, 04:12 PM
what does the code you are using look like?

E-vOl
October 1st, 2003, 07:42 PM
here is the code i put.
code:

<?

// Recieving and Creating Variables...
$Name = $_POST['name'];
$Email = $_POST['suspectseven@hotmail.com'];
$Message = $_POST['message'];
$Subject = "Test E-mail Tutorial";
$Header = "From: $Name <$Email>";


//Performing Mail script...
mail($Email, $Subject, $Message, $Header);

?>

E-vOl
October 2nd, 2003, 04:46 PM
can somebody please help me

λ
October 2nd, 2003, 04:50 PM
<?php

// Recieving and Creating Variables...
$Name = $_POST['name'];
$Email = "suspectseven@hotmail.com";
$Message = $_POST['message'];
$Subject = "Test E-mail Tutorial";
$Header = "From: $Name <$Email>";


//Performing Mail script...
mail($Email, $Subject, $Message, $Header);

?>

E-vOl
October 6th, 2003, 05:33 PM
ok I did the same code and it still doesn't work. Is there something that I am missing . Can somebody please help me.

I already contacted My sever and they wrote back saying that they do support PHP.

Please help

Marz
October 6th, 2003, 05:52 PM
Just because they support php, doesn't mean they have the php mailing service set up.. Mail them and ask them if they have a default mailing account set up.. Alot of generally huge branch servers do not unfortunately...