Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

CPanel Formmail clone

Discussion in 'E-mail Discussion' started by rjb, May 5, 2004.

  1. rjb

    rjb Registered

    Joined:
    May 5, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    Newbie here, enjoying using my new server!
    I have the formmail clone working on my site and it happily sends me emails everytime it is used.
    However I would like to adjust the script (I just want the confirmation page to say "Thank You") and I would like it to send a 2nd email if that's possible.

    CPanel tells me it is at http://mydomain.com/cgi-sys/FormMail.cgi

    However I cannot find cgi-sys when checking with Cuteftp or WinSCP and so cannot find FormMail.cgi to edit it.

    Questions please:-

    1) How can I find the FormMail.cgi to edit it?
    2) Is it possible to make it send the form to one email address and a "notification" email ("You have received an email from...") to another email address?

    Thanks in advance for help.
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    It should be located in the /usr/local/cpanel/cgi-sys/ folder, but I believe this is a compiled binary file which really can't be modified like a regular perl script. ;)

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rjb

    rjb Registered

    Joined:
    May 5, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    :( Ahh - what options do I have to accomplish what I want to do, if any?
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    776
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Personally I write all my own custom form processing scripts! :) but if you don't do your own programming, check out Hotscripts.Com they have a ton of perl and PHP form processing scripts that I'm sure will meet your needs.

    If you need a more customized script, drop me PM or email.

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    862
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I mostly write my own too. I also agree there are lots of other nice scripts out there.

    That stuff siad, I'm pretty sure you can do the things you want to do with Formail clone by passing some hidden form fields. Check out the documentation... it's been a few years since I used formail, but I seem to remember doing some pretty customized stuff all by passing hidden values in the form.

    best luck,
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice