Jump to content

mail() [function.mail]: SMTP server response: 550 Requested action not taken: ma


freeze mobile

Recommended Posts

Hello, can anyone help out with this browser reports

Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php on line 73

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php:73) in C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php on line 75,

 

please below is the whole php code....

 

<?php

 

$mailto = 'customercare@fleetderivativescom' ;

$subject = "Request Form" ;

$formurl = "http://www.fleetderivatives.com/book.html" ;

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

$thankyouurl = "http://www.fleetderivatives.com/complete.html" ;

$email_is_required = 1;

$name_is_required = 1;

$uself = 0;

$use_envsender = 0;

$use_webmaster_email_for_from = 0;

$use_utf8 = 1;

$headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ;

$content_type = (!isset( $use_utf8 ) || ($use_utf8 == 0)) ? 'Content-Type: text/plain; charset="iso-8859-1"' : 'Content-Type: text/plain; charset="utf-8"' ;

if (!isset( $use_envsender )) { $use_envsender = 0 ; }

$envsender = "-f$mailto" ;

$name = $_POST['name'] ;

$address = $_POST['address'] ;

$vehicle = $_POST['vehicle'] ;

$deliveryaddress = $_POST['deliveryaddress'] ;

$deliveryperiod = $_POST['deliveryperiod'] ;

$usagedetails = $_POST['usagedetails'] ;

$telephone = $_POST['telephone'] ;

$email = $_POST['email'] ;

$othernecessarydetails = $_POST['othernecessarydetails'] ;

$http_referrer = getenv( "HTTP_REFERER" );

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

header( "Location: $formurl" );

exit ;

}

if (($email_is_required && (empty($email) || !ereg("@", $email))) || ($name_is_required && empty($name))) {

header( "Location: $errorurl" );

exit ;

}

if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email ) ) {

header( "Location: $errorurl" );

exit ;

}

if (empty($email)) {

$email = $mailto ;

}

$fromemail = (!isset( $use_webmaster_email_for_from ) || ($use_webmaster_email_for_from == 0)) ? $email : $mailto ;

 

if (get_magic_quotes_gpc()) {

$telephone = stripslashes( $telephone );

}

$messageproper =

"This message was sent from:\n" .

"$http_referrer\n" .

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

"Name of sender: $name\n" .

"Address: $address\n" .

"Type Of Vehicle: $vehicle\n" .

"Delivery Address: $deliveryaddress\n" .

"Delivery Date & Time: $deliveryperiod\n" .

"Usage Details: $usagedetails\n" .

"Telephone: $telephone\n" .

"Email: $email\n" .

"Other Necessary Details: $othernecessarydetails\n" .

 

"------------------------- REQUESTS -------------------------\n\n" .

$telephone .

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

 

$headers =

"From: \"$name\" <$fromemail>" . $headersep . "Reply-To: \"$name\" <$email>" . $headersep . "X-Mailer: chrequest.php 2.13.0" .

$headersep . 'MIME-Version: 1.0' . $headersep . $content_type ;

if ($use_envsender) {

mail($mailto, $subject, $messageproper, $headers, $envsender );

}

else {

mail($mailto, $subject, $messageproper, $headers );

}

header( "Location: $thankyouurl" );

exit ;

 

?>

Thank You very much Mr. Rhodesa....... The Only problem is it keeps returning the reply.

Okay it works perfectly sending mail to a yahoo mail addy, but wont to the supposed address [email protected], Please I really need this one

it keeps bringing the same error

 

Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php on line 73

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php:73) in C:\Inetpub\vhosts\fleetderivatives.com\httpdocs\request.php on line 75,

 

thanx for your response

interesting...not sure...this is a hosting service right? i would give them a call, cus i don't see anything wrong with the code. their configuration might be off or they may have some special rules in place

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.