Help - Search - Members - Calendar
Full Version: Phpmail
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
amedillo
Hi, I would like to know if PHPmail works in free hosting?

I'm using the below script. I tried putting gmail and yahoo address but never recieve it.

CODE
<?
$to = 'me@mydomain.com';
$subject = 'subject';
$message = 'From: ' . $_REQUEST['name'] . "\n\n" . $_REQUEST['data'];
$email = $_REQUEST['email'];
$headers = 'From: ' . $email . "\r\n" .
            'Reply-To: ' . $email . "\r\n" .
          'X-Mailer: PHP/' . phpversion();

mail ($to, $subject, $message, $headers);
header("Location: thanks.html");

?>
amedillo
Hi admins, I need to know if PHPmail script above is supported? if not, how can i make it to work or, what phpmail script is supported. thanks
Jacob
PHP Mail is disabled by default. It costs $10 to enable. Jump on the live chat if you want more information.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.