jmac2501 Posted March 19, 2008 Share Posted March 19, 2008 I am having a problem with my phpmailer. this is the error message I keep getting. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\Sites\Single4\****\webroot\Nuke\html\modules\vwar\includes\functions_admin.php on line 599 I have no access to my php.ini so i was told to use this ini_set to bypass. so this is what i put in below. ini_set("include_path", ".:/path/to/phpmailer/dir"); require("http://****/Nuke/phpmailer/class.phpmailer.php"); Can anyone help me fix it. Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/ Share on other sites More sharing options...
helbom Posted March 19, 2008 Share Posted March 19, 2008 may we please see the code? Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496243 Share on other sites More sharing options...
jmac2501 Posted March 19, 2008 Author Share Posted March 19, 2008 what code do you want to see? There is the class.phpmailer.php or one with the: ini_set("include_path", ".:/path/to/phpmailer/dir"); require("http://****/Nuke/phpmailer/class.phpmailer.php"); Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496253 Share on other sites More sharing options...
BlueSkyIS Posted March 19, 2008 Share Posted March 19, 2008 http://codenewbie.com/forum/php/1760-specifying-smtp-server-php-mail.html Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496256 Share on other sites More sharing options...
jmac2501 Posted March 19, 2008 Author Share Posted March 19, 2008 ok i used that now i get this error Helo command rejected: need fully-qualified hostname here is my setting: var $Hostname = "mail.****.com"; var $Host = "mail.****.com"; var $Port = 25; var $Helo = "mail.****.com"; var $SMTPAuth = true; then username and password what should the helo be??? Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496336 Share on other sites More sharing options...
jmac2501 Posted March 20, 2008 Author Share Posted March 20, 2008 any help ??? Please ??? Quote Link to comment https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496457 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.