Mail (php) doesn't work with adress@x10hosting

Status
Not open for further replies.

springbox99

Member
Messages
114
Reaction score
3
Points
18
Hello,

I am no longer receiving mails from my website when a visitor posts a new comment on one of the pages. It appears that you have limited php mail function, but even with an address @ my-domain-name, it does not work.
Any idea?

---------- Post added at 07:15 PM ---------- Previous post was at 02:49 PM ----------

Anyone ?
 

blackdev

New Member
Messages
7
Reaction score
0
Points
0
Probably is a problem with the mail function or the email address, but just the provider can give you more details.
 

springbox99

Member
Messages
114
Reaction score
3
Points
18
How can we do to send emails with php now ?
No one knows ?
Is mail function completely disabled ?
No one from X10hosting's staff to answer ?
Pleeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaase !!!!
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,375
Reaction score
327
Points
83
PHP:
<?php


//  TEST OF THE MAIL SYSTEM USING PHP mail()

date_default_timezone_set('America/Los_Angeles');
echo date('l jS \of F Y h:i:s A'); 

// this must be a valid email account on your domain

$from = "igor@what_hump.x10.bz";  

// DOES NOT BOUNCE BACK FROM hotmail!!

$to="drfrankenstein@hotmail.com"; 


$mailbody="Test message sent (PST): \n" . date('l jS \of F Y h:i:s A');
$subject="Test of PHP mail()" ;

// NOT text/html
$headers = "Content-type: text/plain; charset=windows-1251 \r\n";

$headers .= "From: $from\r\n";
$headers .= "Reply-To: $from\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "X-Mailer: PHP/" . phpversion();

$resp = mail($to, $subject, $mailbody, $headers);

if( $resp ){
    $outcome = "Mail sent" ;
} else {
    $outcome = "Mail not sent";
}

print "\nThe mail system said: $outcome\n\n" ;
exit();




?>

This currently works on Chopin.
 

springbox99

Member
Messages
114
Reaction score
3
Points
18
Thank you.
I've just try it with a valid email account on my domain (webmaster(at)springbox-airsoft.fr). And… It doesn't work.
"Wednesday 18th of January 2012 06:12:08 PM The mail system said: Mail not sent"
I don't understand why.

---------- Post added at 11:17 PM ---------- Previous post was at 11:16 PM ----------

Well, it confirms that the problem doesn't come from me.
 
Status
Not open for further replies.
Top