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 ;

 

?>

Link to comment
Share on other sites

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

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.