help on phpmailer

Status
Not open for further replies.

lohmeyer

New Member
Messages
11
Reaction score
0
Points
0
ive been trying to use phpmailer on my friend's server and this keeps coming up..

"Mailer Error: Language string failed to load: connect_host"

any ideas how to fix this?

PHPMailer 2.0.0
PHP 5.2.5
Apache 2.2.6
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
- Look for class.phplistmailer.php in <phpmailer-dir>/admin
- Goto Line: 24
- Replace the line with following
Code:
parent::SetLanguage('en',dirname(__FILE__) . '/phpmailer/language/');
 

lohmeyer

New Member
Messages
11
Reaction score
0
Points
0
what was the original codes on line 24? theres a bunch of comments within my file
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Sorry. I just thought that your phpMailer object language is not set. usually people do that mistake. In your case, its stating that connect_host failed. Have you tried to send mail using SMTP? If yes, have you given the outgoing SMTP Server?
 

lohmeyer

New Member
Messages
11
Reaction score
0
Points
0
well i read on the readme info along with the phpmailer and it says that the default is suppose to be en, but i still have the language error.

this is actually my first time setting up a mail server.. and i used Gmail as my outgoing.. coz i remembered i used it on my thunderbird. i used smtp.gmail.com on port 465 or 587
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
well i read on the readme info along with the phpmailer and it says that the default is suppose to be en, but i still have the language error.

If you have Language problem, please try the thing I have posted in my first reply for this thread.

this is actually my first time setting up a mail server.. and i used Gmail as my outgoing.. coz i remembered i used it on my thunderbird. i used smtp.gmail.com on port 465 or 587

If you're using SMTP, then check the Authentication Credentials and the From Address. Those things may cause errors.
 
Last edited:
Status
Not open for further replies.
Top