Jump to content

phpmailer


jmac2501

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/96971-phpmailer/
Share on other sites

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???

Link to comment
https://forums.phpfreaks.com/topic/96971-phpmailer/#findComment-496336
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.