Jump to content

email doesnt get sent...


Recommended Posts

Ok, I admit, I am extremely green!!

anyone tell me why my email wont get sent?

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>Feedback</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

 

<?php

$mailto = "jason@l3g4cy.com" ;

$subject = "L3G4CY Feedback Form" ;

$formurl = "http://www.l3g4cy.com/feedback.html" ;

$errorurl = "http://www.l3g4cy.com/error.html" ;

$thankyouurl = "http://www.l3g4cy.com/thanks.php" ;

 

$name = $_POST['name'] ;

$email = $_POST['email'] ;

$number = $_POST['number'] ;

$comments = $_POST['comments'] ;

$service = $_POST['service'] ;

$size = $_POST['size'] ;

$month = $_POST['month'] ;

$day = $_POST['day'] ;

$http_referrer = getenv( "HTTP_REFERER" );

 

if (!isset($_POST['email'])) {

header( "Location: $formurl" );

exit ;

}

if (empty($name) || empty($email) || empty($number) || empty($service) ||) {

header( "Location: $errorurl" );

exit ;

}

$name = strtok( $name, "\r\n" );

$email = strtok( $email, "\r\n" );

if (get_magic_quotes_gpc()) {

$comments = stripslashes( $comments );

}

 

$messageproper =

 

"This message was sent from:\n" .

"$http_referrer\n" .

"------------------------- COMMENTS -------------------------\n\n" .

$comments .

"\n\n------------------------------------------------------------\n" ;

 

mail($mailto, $subject, $messageproper, "From: \"$name\" <$email>\r\nReply-To: \"$name\" <$email>\r\nX-Mailer: chfeedback.php 2.04" ); [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<----could this be my problem?[!--colorc--][/span][!--/colorc--]

header( "Location: $thankyouurl" );

exit ;

 

?>

</body>

</html>

 

[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--][!--sizeo:3--][span style=\"font-size:12pt;line-height:100%\"][!--/sizeo--]This is the error that my mailError.log displays....How do i fix this?[!--sizec--][/span][!--/sizec--][!--colorc--][/span][!--/colorc--]

2005 Dec 10 16:47:50 result not "ok": ><2005 Dec 10 16:47:50 unable to validate mail access(1)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.