Hello,
I need help
“I am using latest version of XAMPP on Windows Server 2008 R2 to deploy latest: mediawiki”
on localsettings.php
Using SSL:
$wgSMTP = array(
'host' => 'ssl://smtp.gmail.com',
'IDHost' => 'gmail.com',
'port' => 465,
'username' => 'my-email@gmail.com',
'password' => 'mypasswd',
'auth' => true
);
Got this error:
“Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (code: -1, response: )]”
Using TLS:
$wgSMTP = array(
'host' => 'smtp.gmail.com',
'IDHost' => 'gmail.com',
'port' => 587,
'username' => 'my-email@gmail.com',
'password' => 'mypasswd',
'auth' => true
);
Got this error:
“Mailer returned: authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]”
I also tried changing the [mail function] on C:\xampp\php\php.ini
and [sendmail function] on C:\xampp\sendmail\sendmail.ini.
but doesnt work.
I really want this to work coz it means a lot to me, any help would be very much appreciated.
Thank you.
//my antivirus and firewall is turn off//