Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    52

    Default Is it possible to stop one contact script sending as nobody.

    Hi,

    I´ve read alot about the use of phpsuexec to stop everything on the server to send email as nobody, but I don´t want to do this because of the side affects/disadvantages.

    I have one user who has a contactform which sends as nobody and he keeps replying to it. So every reply he makes goes to nobody@

    Is there a way to stop just this contactform from sending as nobody@ ?
    Regards,

    Marcel

  2. #2
    Member WebScHoLaR's Avatar
    Join Date
    Dec 2005
    Location
    Planet Earth
    Posts
    506

    Default

    If you don't want to have phpsuexec, then the contact form needs to be edited to specify a valid FROM address so the emails will be sent from that address instead of nobody.

    Regards,
    WebScHoLaR

    WebHosting Blog: http://WebScHoLaR.net

  3. #3
    Member
    Join Date
    Dec 2003
    Posts
    52

    Default

    Hi WebScHoLaR,

    the script contains this piece of code:
    Code:
    $mailto = "info@domain.com";
    $mailfrom = "info@domain.com";
    $subject = "Contact form";
    And info@domain.com is a valid domain in cPanel.

    Is that what you mean or are you reffering to something else ?
    Regards,

    Marcel

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MarcelB View Post
    Hi WebScHoLaR,

    the script contains this piece of code:
    Code:
    $mailto = "info@domain.com";
    $mailfrom = "info@domain.com";
    $subject = "Contact form";
    And info@domain.com is a valid domain in cPanel.

    Is that what you mean or are you reffering to something else ?
    Setting the variables wont do much good unless they're actually used. Refer to the PHP Manual for the mail() function for more details.

Similar Threads & Tags
Similar threads

  1. nullamil is sending spam, How do I stop it?
    By Chriz1977 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-18-2006, 12:03 PM
  2. contact us script and spame help
    By shann in forum Optimization
    Replies: 7
    Last Post: 08-16-2006, 09:37 AM
  3. Contact Manager... sending to wrong place?
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-29-2005, 05:27 PM
  4. No Contact Email sending after Upgrade
    By jezlurkin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-22-2004, 02:47 PM
  5. How to stop SPAMMER SENDING 5000+mail/Hr. ?
    By dolay in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-06-2004, 06:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube