Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default Problem with PHP mail

    I have recently checked off "prevent user nobody from sending out mail" in the WHM tweak settings. Now a customer who uses the fantastico installed PHP auction website says his clients no longer receive his emails. I have enabled suexec but I did not go to Apache update and compile in there yet. Will that fix the problem? If not can you be so kind as to give me a hint on how to resolve this issue for my customer?

    Thanks so much

  2. #2
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    hi,
    certain PHP based scripts do offer a mod for such problems which lets the site owner send mails using a smtp a/c.

    preventing NOBODY user is although very helpful but you get a lot of such complaints from clients using such scripts and may really bug you.

    see ya,
    mohit
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default

    I checked the admin section of the script and there is no such smtp feature. There is no mod from the tech support for the auction script. Can someone else suggest how I may get this to work?

    Thank you

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default

    Can anybody help me with this issue? Thank you

  5. #5
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    I think what you need is phpsuexec not suexec... but if you go that way, you'll want to do some reading first as it will introduce a host of other considerations.

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default

    I have now compiled phpsuexec and still the email does not function. Thank you

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    You're going to have to either pay someone to investigate this for you or start investigating yourself and post back the exact errors you encounter along the way.

    I'd suggest a strategy as follows:

    1. Enable extended logging in Exim
    This, among other things, logs the subject of an email which makes finding a message in the mail logs so so much easier.
    http://forums.cpanel.net/showthread.php?t=48648

    2. Create a simple PHP script for sending a test message
    PHP Code:
    <?php

        mail
    ('myaddress@example.com''my easy-to-spot test subject''my unimportant test message');

    ?>
    3. Set the subject value sensibly and execute the script. I'd recommend changing the subject each time before executing so that you can track which test message is which.

    4. Wait long enough for something to turn up on the mail logs and then check through /var/log/exim_mainlog for the message sent by the script. Act accordingly on any error messages you find.

    It's as easy as that. If you don't understand what an error means, post the full and exact error message here and people may be able to help. But first and foremost you're going to have to put some effort into this.

Similar Threads & Tags
Similar threads

  1. nobody@ problem with php mail()
    By blueghozt in forum E-mail Discussions
    Replies: 3
    Last Post: 07-06-2009, 08:37 PM
  2. php mail problem
    By JWG in forum Database Discussions
    Replies: 1
    Last Post: 12-12-2006, 10:04 AM
  3. php mail problem
    By yourwayit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-12-2006, 02:14 AM
  4. Problem with PHP and E-mail
    By tbutler in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-07-2004, 02:11 PM
  5. php mail() problem
    By simonlee in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-01-2004, 08:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube