joomla and gmail setup - Joomla! Forum - community, help and support


hi, sorry iam new here found forum after struggle searching on google.
i kind of in trouble. , trying friend

the site made in joomla site , use google aps email , service provider dont allow mail relay
they need authenticate gmail send email , open mailconfigure.php file , here , have no idea add , ,

$mail = new phpmailer();
$mail->issmtp();


$toemail = $to;
$mail->host ="smtp.gmail.com";
$mail->port=25;
$mail->smtpauth = true;
$mail->username ="noreply@yourserver.com";
$mail->password ="abc123";
/**end change configure setting **/

$mail->from =$from;
$mail->fromname =$fromname;
$mail->addaddress($toemail);
$mail->addcc($cc);
//$mail->addbcc();
$mail->subject = $subject;
$mail->ishtml(true);
$mail->body = stripcslashes($message);
$mail->send();



any please

don't mess file. in administrator backend, goto global configuration , select smtp mail method.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support