Mail working with XAMPP
I found this file a few days ago. I’m not sure of it’s originals, but here’s how it works.
It uses PHPMailer with a gmail wrapper, so to speak. Here is the code needed:
require_once(’/phpgmailer/class.phpgmailer.php’);
$mail = new PHPGMailer();
$mail->From = ‘user@domain.com’;
$mail->Username = ‘user@domain.com’;
$mail->Password = ‘password’;
$mail->FromName = ‘User Name’;
$mail->Subject = ‘Subject’;
$mail->AddAddress(’myfriend@domain.com’);
$mail->Body = ‘Cool, Email working!’;
$mail->Send();
here is the required files
So [...]
