Sending Email via PHP

Path to sendmail

/usr/sbin/sendmail

Here is a SIMPLE TEST PHP Sendmail Script:

<?php
$to = "[email protected]";
$subject = "This is a test";
$message = "Hi!  This is a test .";
$from = "[email protected] ";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>

 

 

Here is our Shared Hosting PHP Spec Sheet:

http://www.hostingcheck.com/web-hosting/shared-web-hosting-spec-sheet/shared-web-hosting-php-spec-sheet/

  • 3 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

PHP Cannot modify header information

If you are getting the PHP Error: Cannot modify header information Please CONSULT the PHP MANUAL...

PHP Version

Please see our Shared Hosting PHP Spec Sheet:...

PHP Modules

  Here are the PHP Modules installed on all servers.If a module IS NOT listed - it is either NOT...

ioncube PHP loader

We USE ioncube PHP loader.   Here is our Shared Hosting PHP Spec Sheet:...

Is PHP running as a CGI script or as an Apache module?

PHP is run as CGI, using FastCGI (fci).   Here is our Shared Hosting PHP Spec Sheet:...