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!

php forms send from external domain

Discussion in 'E-mail Discussion' started by jonh, Dec 14, 2017.

  1. jonh

    jonh Well-Known Member

    Joined:
    Feb 15, 2016
    Messages:
    59
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    NY
    cPanel Access Level:
    Root Administrator
    Our wordpress forms use the person submitting the form in the FROM field. The emails don't get sent unless the FROM field is an email on the domain. Is there a way to make it send when the FROM field is not an email on our domain?

    I had this working previously and switch to new server today.

    (I know I can put one of our emails in the FROM and the person's in the REPLYTO.)
     
  2. jonh

    jonh Well-Known Member

    Joined:
    Feb 15, 2016
    Messages:
    59
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    NY
    cPanel Access Level:
    Root Administrator
    I found changing Exim Configuration Manager > Mail Sender Verification> off allows this.

    Is this the right way?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's generally a better idea to use a plugin that allows for WordPress to send the email using SMTP. EX:

    WP Mail SMTP by WPForms

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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