Hi there, I have just installed 1.26.3 on my Hostmonster account. Everything works fine, but I would like to enable emails as well (for notifications, and for password reminders).
If I set $wgEnableEmail = true; and create a new user, I get this error message
Mailer returned: Unknown error in PHP's mail() function.
How can I troubleshoot this please?
I have tried creating a test.php page that sends an email
<?php print "Sending email...
"; mail("firstname.lastname@example.org","My subject","My message body"); print "Sent!
If I load it from my browser, it sends the email OK. The From: field comes as "myHostmonsterAccountName@hostxxx.hostmonster.com". I would like to reproduce what MediaWiki is doing with a minimal PHP script, so I can take it to Hostmonster's tech support.
By the way, how can I test this from WikiMedia without having to create a new user every time?
Thanks a lot for any help! :)