For some reason, using Enomcentral.com as my web host I can not get my php forms to mail to my box. I have installed phpmailer_5.2.1 and have edited my php.ini file to include the mailer. Below is my include path in my php.ini.
; UNIX: “/path1:/path2”
;include_path = “.:/php/includes”
;
; Windows: “path1;path2”
include_path = “.;c:php5”
include_path = “class.phpmailer.php “
I try and run a simple php test.
<?php
mail(‘
echo ‘Mail sent!’;
?>
It says mail sent yet I recieve nothing in my inbox?? So I thought mb I have to include the path and changed my code to this.
<?php
mail(‘
echo ‘Mail sent!’;
require(“class.phpmail.php”);
?>
Now this is the error I get….Still no mail in the mailbox.
Mail sent!PHP Fatal error: require() [function.require]: Failed opening required ‘class.phpmail.php’ (include_path=’class.phpmailer.php ‘) in E:USERSgreenwaylawnwwwphptest.php on line 4
Is there anything else i need to change in my php.ini file or is there anything i need to change in the phpmailer file… plz help im so lost right now.
Thank You SOOOOO Much for your time.