Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default PHPNuke email activations

    Apparently it has stop working. Seems as if the mail() function has been disabled. I have incorporated a no email activation required but still need the mail() function to work for other clients. I have businesses that require the web mail functions to work. How do I fix this?

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default email() Not working VIA web form

    Apparently it has stop working. Seems as if the mail() function has been disabled. I have incorporated a no email activation required but still need the mail() function work for other clients. I have businesses that require the web mail functions to work. How do I fix this?

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ** Merged Duplicate Threads **

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    sorry about that... apparently an update was pushed last night and fowled this up...

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    First, ensure you haven't disabled mail() in the disable_functions directive of the php.ini file. You can access the PHP configuration by going to WHM -> Service Configuration -> PHP Configuration Editor. Note, on concurrent PHP setups, this only shows the configuration for PHP 5 at this time (the developers are working on a solution to this issue, no ETA though).

    Next thing you may want to do is check the Exim queue (WHM -> Email -> Mail Queue Manager) to ensure your messages aren't getting stuck in the queue for whatever reason.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    Mail SMTP Used under Windows only: host name or IP address of the SMTP server PHP should use for mail sent with the mail() function. localhost **DEFAULT**, Click to Edit

    Mail sendmail_from me@localhost.com **DEFAULT**, Click to Edit

    Mail sendmail_path /usr/sbin/sendmail -t -i

    Mail smtp_port 25

    how do know if disabled.

    I have an email on server if someone PM's me I get email but if user doesn't get an email notification email. Only sends to local users on the server apparently.

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Lestat View Post
    how do know if disabled.
    Scroll down to disabled_functions.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Lestat View Post
    Mail SMTP Used under Windows only: host name or IP address of the SMTP server PHP should use for mail sent with the mail() function. localhost **DEFAULT**, Click to Edit

    Mail sendmail_from me@localhost.com **DEFAULT**, Click to Edit

    Mail sendmail_path /usr/sbin/sendmail -t -i

    Mail smtp_port 25

    how do know if disabled.
    In addition to what cPanelDavidG said, login to the WHM >> Main >> Server Configuration >> Tweak Settings and make sure the option "Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)" is not checked. Also, make sure you didn't enable "SMTP Tweak" in the WHM>> Main >> Security >> Security Center

    See if that helps.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    It is unchecked already...

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Scroll down to disabled_functions.

    I am in PHP Configuration Editor advanced. I see nothing resembling disable_functions any where
    I see options like:
    Apache
    BCMath
    Core
    Database Abstraction
    Error Handling and Logging
    Exif
    Filesystem
    Informix
    Java
    mail
    Microsoft SQL
    Multibyte String
    MySQL
    Network
    ODBC
    Options & Information
    Output Control
    PostgreSQL
    Safe Mode
    Session Handling
    Sybase
    Verisign Payflow Pro
    Zlib
    mSQL

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    anyone there?

  12. #12
    Member
    Join Date
    Oct 2003
    Posts
    19

    Default

    try compiling php5 as a CGI. that fixed our issue.

  13. #13
    Member
    Join Date
    Oct 2003
    Posts
    19

    Default

    Unfortunately php as a CGI causes more issues with users that have "php_value" settings in .htaccess. So this is still a BIG issue with PHP compiled as a DSO / module. Can someone from cpanel confirm?

  14. #14
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by kmpanilla View Post
    Unfortunately php as a CGI causes more issues with users that have "php_value" settings in .htaccess. So this is still a BIG issue with PHP compiled as a DSO / module. Can someone from cpanel confirm?
    Although I am not with the the cPanel support, php_value in .htaccess file won't work when SuPhp is enabled. This article will explain, read carefully: http://servertune.com/kbase/entry/184/
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  15. #15
    Member
    Join Date
    Sep 2003
    Posts
    187

    Default

    I have tried above how to fix this problem. I have yet to find the disable functions you guys speak of. This is still an issue and I have yet to resolve the matter. Anyone else having issues with this?

Similar Threads & Tags
Similar threads

  1. web form for webmail
    By khoonchee in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-08-2009, 06:02 PM
  2. web form / Wordpress spam blacklist
    By zosorock in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-26-2009, 06:12 PM
  3. How to create a FEEDBACK form for Web page?
    By temkngt in forum New User Questions
    Replies: 1
    Last Post: 09-03-2008, 09:01 AM
  4. Email not working (web/pop/imap)
    By rudedog in forum E-mail Discussions
    Replies: 4
    Last Post: 08-15-2006, 09:12 PM
  5. Setting Up Email thru Web Email Form
    By simplymagick in forum E-mail Discussions
    Replies: 2
    Last Post: 12-16-2005, 09:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube