Thanks Jack... I'm good now.
Thank you, Sandy Ryan, PMP Auburn SeeWolf llc Providing custom software solutions to improve your company's efficiency and increase profits. 505-332-9340 (v) 505-934-0684 (c) 505-332-9365 (f)
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jack D. Pond Sent: Wednesday, March 09, 2011 9:20 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] email errors STILL
Sandy,
If you still haven't resolved this, you need to make sure:
1. You have an SMTP server set up that can accept your emails - that means either a dedicated server or an email account on an SMTP server that allows you to relay messages through. You can use the build-in IIS SMTP server to do this as part of the Windows Install. HOWEVER, WARNING, WARNING, WARNING. Do not set up an SMTP server unless you know how to do it securely - otherwise you will add a whole bunch of bot spamming capability to the net that no-one (expecially you) wants.
2. Go into your php.ini file (in php program area), and make sure you have the following lines set up to reflect the SMTP server from step one:
[mail function] ; For Win32 only. ; http://php.net/smtp SMTP = [URN of your SMTP server] ; http://php.net/smtp-port smtp_port = [Port allowed to access your SMTP server, usually 25 if within your DMZ]
; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename mail.add_x_header = On
; The path to a log file that will log all mail() calls. Log entries include ; the full path of the script, line number, To address and headers. ;mail.log =
Hope this helps.
Jack
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sandy Ryan Sent: Monday, March 07, 2011 5:40 PM To: 'MediaWiki announcements and site admin list' Subject: [Mediawiki-l] email errors STILL
I have Pear installed and there is a directory c:\php\Pear
And I ran the whole go-pear.bat and accepted the default locations
In the error log I'm receiving
[07-Mar-2011 15:36:18] PHP Warning: require_once(Mail.php): failed to open stream: No such file or directory in D:\inetpub\ MYSITE \w\includes\UserMailer.php on line 119
[07-Mar-2011 15:36:18] PHP Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='D:\inetpub\MYSITE\w;D:\inetpub\ MYSITE \w/includes;D:\inetpub\ MYSITE \w/languages;.;C:\php\pear') in D:\inetpub\ MYSITE \w\includes\UserMailer.php on line 119
I do not see a mail.php file anywhere.
I'm not a PHP person, yep a silly windows .net programmer and I'm running this on a windows 2003 server
I really don't want to use the PEAR server but my own smtp mailserver - how do I configure MediaWiki not to use PEAR but my smtp server? I already have the smtp server's IP address in the LocalSettings.php file.
Thanks - sorry to be dense about this - but, I'm still learning.
Sandy
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l