Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 831
  • Last Modified:

disable_functions and mail

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
lenamtl
Asked:
lenamtl
  • 3
  • 2
1 Solution
 
Aaron TomoskySD-WAN SimplifiedCommented:
Phpmailer is your friend.
0
 
lenamtlAuthor Commented:
I think Phpmailer will use the same mail method

0
 
Aaron TomoskySD-WAN SimplifiedCommented:
Nope. Mail uses sendmail. Ppmailer connects to an smtp server either on that box or another.
0
 
lenamtlAuthor Commented:
Finally the hosting company have fix it and I was right about
disable_functions mail
That was the problem
 
0
 
lenamtlAuthor Commented:
I did not use your solution but this was a good solution
so I award you the points.

Thanks for your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now