jorgesuarezch93
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 0
Hello, I need your help. I think mail function from php is disable in x10hosting. I see that mail doesn\'t work.
I try:
<?php
$to = \"cristinamazuera@hotmail.com\";
$from = \"jac@registrarpruebas.elementfx.com\";
$subject = \"Test Email\";
$message = \"<h1>Test my beleck Email</h1><br><br><b><font color=\'red\'>This is a test email.</font></b>\";
$headers = \"From: $from \";
$headers .= \"Content-type: text/html \";
mail($to, $subject, $message, $headers);
echo mail($to, $subject, $message, $headers);
?>
and I don\'t have any answer.
The question are:
1. If the server have SMTP, I can\'t or no use the mail function
2. If I can\'t, you cant enable?.
I\'ll be waiting for your prompt response. Thanks.
I try:
<?php
$to = \"cristinamazuera@hotmail.com\";
$from = \"jac@registrarpruebas.elementfx.com\";
$subject = \"Test Email\";
$message = \"<h1>Test my beleck Email</h1><br><br><b><font color=\'red\'>This is a test email.</font></b>\";
$headers = \"From: $from \";
$headers .= \"Content-type: text/html \";
mail($to, $subject, $message, $headers);
echo mail($to, $subject, $message, $headers);
?>
and I don\'t have any answer.
The question are:
1. If the server have SMTP, I can\'t or no use the mail function
2. If I can\'t, you cant enable?.
I\'ll be waiting for your prompt response. Thanks.