The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Website Contact Form Setup

Discussion in 'General Discussion' started by andrecreative, Jul 9, 2013.

  1. andrecreative

    andrecreative Registered

    Joined:
    Jul 8, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi i'd like to know how can i set my website contact form correctly.
    I have made a php contact form in my website ... but if i try to send email from my website it doesn't work.
    May i do something in my PHP admin or in PHP manager or what else ... Help me please !!!
    I dont know how do do it !!! :confused:
    Thanks A Lot :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,667
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Does your PHP script utilize SMTP authentication or does it attempt to send directly with PHP using Sendmail? Are you receiving any specific error messages?

    Note that you may have find a web design forum more useful for this type of issue because the cPanel/WHM forums are typically for issues directly related to the cPanel software.

    Thank you.
     
  3. andrecreative

    andrecreative Registered

    Joined:
    Jul 8, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    It attempt to send directly with PHP using sendmail and any error messages received.
    Yes i know but i'd like to know if i have to do something in Cpanel to receive my mail with PHP contact form ... i'm rookie for that issue im sorry ... maybe there is a basic and obvious solution that i ignore ... help me please.
    I know that to work a website contact form i needs only an Host with PHP service .... but it doesnt work why? What i might to do?
    Thanks
     
  4. PlotHost

    PlotHost Well-Known Member

    Joined:
    Apr 29, 2011
    Messages:
    253
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you see any PHP errors/warnings ? Try to ask your host for a little help.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,667
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, you may need to contact your web hosting provider because it's possible they have disabled the ability for users to send email with PHP.

    Thank you.
     
Loading...

Share This Page