Solved

MediaWiki not sending email

Posted on 2011-03-07
4
807 Views
Last Modified: 2013-11-13
Running 1.16.2 of Mediawiki and it isn't sending emails -- it gives a server 500 error. log says
[07-Mar-2011 16:07:29] PHP Warning:  require_once(Mail.php): failed to open stream: No such file or directory in D:\inetpub\Marketing\w\includes\UserMailer.php on line 119
[07-Mar-2011 16:07:29] PHP Fatal error:  require_once(): Failed opening required 'Mail.php' (include_path='D:\inetpub\Marketing\w;D:\inetpub\Marketing\w/includes;D:\inetpub\Marketing\w/languages;.;C:\php\pear') in D:\inetpub\Marketing\w\includes\UserMailer.php on line

i have pear installed but there isn't a mail.php file anywhere on the server. in reality i don't want to use pear, i want to use my own smtp server which i have setup in LocalSettings.php and php.ini via the ip address.
how do i get this to work?
thanks
Sandy
0
Comment
Question by:quigleyryan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Kent W earned 500 total points
ID: 35063074
Without a local SMTP server installed, you don't.  Welcome to PHP on Windows.
You can install IIS's SMTP server and use it as "localhost" in your config files, and that should work fine.

Those settings are for *nix based boxes, and without some local mail function, it just doesn't happen.
CDONTS and Blat or other options.
0
 

Author Comment

by:quigleyryan
ID: 35074127
i have the iis smtp server configured on the server.
i changed the php.ini from the mailserver ip to localhost
my LocalSettings.php has the ip address of my mail server

i could have sworn this worked on 1.15 but it sure doesn't on 1.16.2
do you have an example of the LocalSettings.php that works -- just need the SMTP stuff (I think)
0
 

Author Comment

by:quigleyryan
ID: 35074927
got it to work - had to run a few more pear commands.. don't ask me why i couldn't get it to use iis smtp - but you know... i hate freeware stuff...
thanks for your help -- i will give you the points, because you were nice enough to help
0
 
LVL 12

Expert Comment

by:Kent W
ID: 35075201
I just saw both of your replies, busy day!  I'm glad you got it working.  Glad I could point you in a generally right direction.  Thanks!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question