Trying to send a confirmation email via MediaWiki ends in error:
Mediawiki could not send your confirmation mail. Please check your email address for invalid characters.
Mailer returned: Failed to connect to mail.[domain]:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]
My code:
Mediawiki uses PEAR Net_SMTP extension, by the way, which may not be installed on the server. Am I right? If yes is there an alternative?
Mediawiki could not send your confirmation mail. Please check your email address for invalid characters.
Mailer returned: Failed to connect to mail.[domain]:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]
My code:
$wgSMTP = [
'host' => 'mail.[domain]',
'IDHost' => '[domain]',
'port' => 587,
'auth' => true,
'username' => '[username]@[domain]',
'password' => '[password]'
];
Mediawiki uses PEAR Net_SMTP extension, by the way, which may not be installed on the server. Am I right? If yes is there an alternative?
Last edited: