Desperate... Mailer error

software development


Using my contact form on my web page:
I get the error:
Mailer Error: Language string failed to load: connect_host

The form has been working until recently, and none of the form or include files have been changed since November…

Any idea why I would suddenly get this error when the form worked before?
The form does mail the text and also adds it to MySQL database.

Some online resources said to add the line: $mail->SetLanguage( ‘en’, ‘phpmailer/language/’ );
but I suspect that is not the right phpmailer/language/ path.
How do I know what path to use for the phpmailer?

Thanks for any help!

Here is the code:

<?php function sendFormMail($content, $subject, $recipient, $page){ $mail = new PHPMailer(); $mail->SetLanguage( 'en', 'phpmailer/language/' ); $body = $mail->getFile($page); $body = eregi_replace("[\]",'',$body); $body = str_replace('__TEXT_TO_REPLACE__', $content, $body); $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = ""; // sets GMAIL as the SMTP server $mail->Port = 465; // set the SMTP port for the GMAIL server $mail->Username = ""; // GMAIL username $mail->Password = "BOGUS"; // GMAIL password $mail->AddReplyTo("","Bosque Village"); $mail->From = ""; $mail->FromName = "BOGUS Village";