Hi,
The Apache mod_ssl module is not required to use PHPmailer, even if you are using an authenticated SMTP from your Internet Service Provider.
And then, using ssl does not just happen by uncommenting the related line of httpd.conf, there are many other things to perform.
So, I repeat, you do not need ssl at all for PHPmailer.
$mail = new PHPMailer();
$mail->SetLanguage('en');
$mail->IsSMTP();
$mail->IsHTML = false;
$mail->SMTPDebug = false;
$mail->SMTPAuth = true;
// Settings for the SMTP server.
$mail->Host = "name of provider smtp"; //For example 'mail.gandi.net'
// Using an authenticated SMTP (SMTPAuth = true) and according to
// ISPs (Internet Service Provider) the port to be used
// and the associated protocol may be different.
// It is the ISP that gives the parameters of sending by SMTP.
$mail->Port = 25; //25 or 587 or '465 SSL' or '995 TLS'
//$mail->SMTPSecure = "tls"; // tls or ssl
$mail->Username = "your username to SMTP provider";
$mail->Password = "your password";
$mail->From = "your from address";
$mail->FromName = "Your from name;
//Characteristics of the message
$mail->CharSet = "utf-8";
$mail->Subject = $subject;
$mail->Body = $message;
$mail->Send();
$mail->SmtpClose();
I would not give any further information about using PHPmailer.
It does not fall under the attributions of this forum that is
for people having issues getting WAMPServer running and not a general HOW DO I site for everything web related.---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 07/29/2017 09:02PM by Otomatic.