Hi,
We have MediaWiki set up on a Windows Server 2008 VM. I have been unsuccessful in getting
emails working.
I have:
1. Added the following to our LocalSettings.php
$wgSMTP = array(
'host' => "xxxxxx", // could also be an IP address. Where the
SMTP server is located
'IDHost' => "xxxxxx", //
Generally this will be the domain name of your website (aka
mywiki.org)
'port' => 25, // Port to use when connecting to the SMTP
server
'auth' => true, // Should we use SMTP authentication (true or
false)
'username' => "xxxxxxx", // Username to use for SMTP
authentication (if being used)
'password' => "xxxxxxxx" // Password to use for SMTP
authentication (if being used)
);
All xxxxx replaced with appropriate settings.
2. Installed Pear and pyrus.
3. Used Pyrus to install Mail, Net_Socket and Net_SMTP.
4. Added
;***** Added by go-pear
include_path=".;D:\Program Files (x86)\Apache2.2\bin\pear"
;*****
to our php.ini file
5. Restarted Apache
Do I need to add any "require_once" entries for Mail, Net_Socket and/or Net_SMTP
to our LocalSettings.php file?
When I go to the Preferences page and try to send a confirmation email I get the error:
Internal Error
[27bae741] 2013-06-06 01:07:05: Fatal exception of type MWException
and don't receive any emails.
What am I missing?
Regards,
David Mills | iMed Senior Technical Analyst | Medibank Private
Level 16, 700 Collins Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 0411 513
404
**********************************************************************************
The information contained in or attached to this message is intended only for the people
it is addressed to.
If you are not the intended recipient, please notify the sender and delete the email.
Any use, disclosure or copying of this information is unauthorised and prohibited.
This information may be confidential or subject to legal privilege.
It is not the expressed view of Medibank Private Limited (ABN 47 080 890 259) or any of
its subsidiaries (together 'Medibank') unless it is authorised by a person with
actual authority.
To the fullest extent allowed by law, Medibank does not accept liability
for any damage caused by this message, including any virus damage.
**********************************************************************************