PHP mail() function not delivering mail

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

#dedicated #error #funtion #mail #server

4 replies · 584 views · started 14 years ago · 1 min read

4 participants
arbind004 Junior · 13 posts #1

I have a slight problem. I am using a working script (works on my testing account - shared server and vps) to send a mail through PHP using the mail() function.

I just got a dedicated server, and I haven't been able to get the function to work. ::SERVER DETAILES:: centos 5.8 RAM: 24GB FFMPEG install WHM install

There is clearly something that I am missing. any models need to install for work mail funtion ? plzzz help

something else Fellow · 2,296 posts #2

what error message does it give you when you turn php error messages on?

GumSlone Administrator Principal · 1,690 posts #3

in cpanel whm, Main >> Server Configuration >> Tweak Settings > Mail, Prevent “nobody” from sending mail [?] should be off,

check this setting

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

arbind004 Junior · 13 posts #5

problem solved we have install mailx on my server now email is sending.

yum install mailx

thank you!! all

Added after 4 minutes:

now i am facing one new problem my all sended mail go to spam folder .

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close