?
Solved

MediaWiki not sending email

Posted on 2011-03-07
4
Medium Priority
?
829 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 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Six Sigma Control Plans

764 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