Page 1 of 1

Setup email system with phpmailer

Posted: 11.05.2014, 09:00
by rebirther
1. download phpmailer, copy content to /html/inc, rename the folder to phpmailer

2. project.inc -->add at the end

function make_php_mailer() {
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->SMTPSecure = "tls";
$mail->Host = "smtp.gmail.de"; //change with your settings
$mail->Port = 587;
$mail->Username = "your EMAIL";
$mail->Password = "your PW";
$mail->SetFrom('your EMAIL', 'your name/projectname');
$mail->AddReplyTo('your EMAIL', 'your name/projectname');
return $mail;
}

3. project.inc >>add

$USE_PHPMAILER = true;
$PHPMAILER_HOST = "smtp.gmail.com"; //change with your settings
$PHPMAILER_MAILER = "smtp";

Posted: 29.11.2014, 18:00
by rebirther
updated