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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.