Hi Mark,


Thanks for the reply.  It definitely work.  Running the attached php sends me a 
message.  This proves that I do have pear installed and the Mail.pgp package 
correctly installed.



I'm pretty sure that MediaWiki isn't finding the PEAR php files.  I set up 
logging and get the following:



Start request POST /wiki/Special:ConfirmEmail

HTTP HEADERS:

HOST: imed-wiki

USER-AGENT: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0

…

UserMailer::send: sending mail to [email protected]

[5e95aa11] /wiki/Special:ConfirmEmail   Exception from line 239 of D:\Program 
Files (x86)\Apache2.2\htdocs\w\includes\UserMailer.php: PEAR mail package is 
not installed

#0 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\User.php(3391): 
UserMailer::send(Object(MailAddress), Object(MailAddress), 'iMedWiki email 
...', 'Someone, probab...', NULL)

#1 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\User.php(3369): 
User->sendMail('iMedWiki email ...', 'Someone, probab...')

#2 D:\Program Files 
(x86)\Apache2.2\htdocs\w\includes\specials\SpecialConfirmemail.php(79): 
User->sendConfirmationMail()

#3 D:\Program Files 
(x86)\Apache2.2\htdocs\w\includes\specials\SpecialConfirmemail.php(54): 
EmailConfirmation->showRequestForm()

#4 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\SpecialPage.php(611): 
EmailConfirmation->execute(NULL)

#5 D:\Program Files 
(x86)\Apache2.2\htdocs\w\includes\SpecialPageFactory.php(494): 
SpecialPage->run(NULL)

#6 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(290): 
SpecialPageFactory::executePath(Object(Title), Object(RequestContext))

#7 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(536): 
MediaWiki->performRequest()

#8 D:\Program Files (x86)\Apache2.2\htdocs\w\includes\Wiki.php(446): 
MediaWiki->main()

#9 D:\Program Files (x86)\Apache2.2\htdocs\w\index.php(59): MediaWiki->run()

#10 {main}

Class PEAR_Error not found; skipped loading

OutputPage::sendCacheControl: no caching **



None of the documentation I have found tells me any steps for adding anything 
to LocalSettings.php to get it to load PEAR.



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



-----Original Message-----
…

On 06/17/2013 12:32 AM, David Mills wrote:

> Media Wiki gives an error every time it tries to send an email too.

>

> Is it possible to get working behind a corporate firewall?  If so how?



What is the SMTP server?  Can you access it from the server hosting MediaWiki 
without MediaWiki?



On Linux this would be something like:



  $ nc SMTP-SERVER 25

or

  $ telnet SMTP-SERVER 25



You should be sure that is working first.




**********************************************************************************
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.
**********************************************************************************
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to