Solved

disable_functions and mail

Posted on 2011-03-04
5
805 Views
Last Modified: 2012-05-11
Hi,

There is a little PHP application that is hosted on Windows server
and since 2 days the Mail function stop working with no reason.
The customer service is very slow so I investigate what can cause this issue
The script hasn't change, on the host side they said that they didn't change anything.
I have created a phpinfo page to see the existing settings and one line got my attention

disable_functions mail mail

Is this the culprit, is this line mean that they have turn off the mail function?
If this is the case will I be abe to use SMTP instead?

What else should I check?
To me everything was working fine for more then one year and no scripts modification so this mean that something have change on the server.

I know that I can change hosting company but my boss don't really want...
Thanks
0
Comment
Question by:lenamtl
[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
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 35035832
Phpmailer is your friend.
0
 
LVL 25

Author Comment

by:lenamtl
ID: 35036363
I think Phpmailer will use the same mail method

0
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 125 total points
ID: 35036772
Nope. Mail uses sendmail. Ppmailer connects to an smtp server either on that box or another.
0
 
LVL 25

Author Comment

by:lenamtl
ID: 35037757
Finally the hosting company have fix it and I was right about
disable_functions mail
That was the problem
 
0
 
LVL 25

Author Closing Comment

by:lenamtl
ID: 35037772
I did not use your solution but this was a good solution
so I award you the points.

Thanks for your help
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

728 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