Okay
  Public Ticket #1455292
Contact Form
Closed

Comments

  • Martin started the conversation

    Hi, when I try the contact form and press "Send" it just takes me to a blank page (.../mail.php) also I don't get the emails on the mailbox I added in the php file, how can I make it work? This is my php file now:

    <?php
    if(isset($_POST['email'])){
    $mailTo = "[email protected]";
    $subject = "mail from web";
    $body = "New message from web
    <br><br>
    FROM: ".$_POST['email']."<br>
    NAME: ".$_POST['name']."<br>
    COMMENTS: ".$_POST['message']."<br>";
    $headers = "To: Julieta Guerrero <".$mailTo.">\r\n";
    $headers .= "From: ".$_POST['name']." <".$_POST['email'].">\r\n";
    $headers .= "Content-Type: text/html";
    //envio destinatario
    $mail_success =  mail($mailTo, utf8_decode($subject), utf8_decode($body), $headers);
    }
    ?>  



    Thank you!
    Martin

  •  840

    Best Regards,
    Jelly Team

  • Martin replied

    Thank you! Now I get the message that the email has been sent, but still not getting it in the mailbox, I checked and it is written in the mail.php file, any ideas?

  •  840
    Jelly replied

    Hello,

    In some cases email can go to the email box of your Cpanel. Also email PHP function could be blocked by your hosting provider. Please contact them and ask about this issue.

    You also can try this plugin to see if your SMTP works: https://wordpress.org/plugins/wp-mail-smtp/

    Best Regards,
    Jelly Team

  • Martin replied

    Hi, I checked all email boxes from the panel and all spam folders, I actually tried sending it to different email clients but I never get the email. Here is the link:


    http://julietaguerrero.com/web/

  • Martin replied

    Also this one is not the wordpress theme just the html

  •  840
    Jelly replied

    Oh right, I am sorry about that.

    Are you sure that SMTP is configured and can be used to send out emails from your server?

    Could you please contact you hosting provider and ask how to configure it properly?

    I've attached our SMTP settings that we are using.

    Best Regards,
    Jelly Team

  • Martin replied

    Thanks for your help, you were right the hosting provider has the PHP forms blocked for spam reasons, they also sent me the SMTP files to add but I couldn't make it work so I will just delete de form and leave the email addresses for contact.

    Regards,
    Martin

  •  840
    Jelly replied

    Hello,

    I am currently closing the ticket. Please don’t hesitate to submit a ticket whenever you need help. I will be happy to assist you.

    P.S. I would appreciate if you could please rate the Theme and like the assistance under my support, means a lot to me. Thank you.

    You can rate it with your themeforest account at your downloads page, precisely at this link: http://themeforest.net/downloads and hover over the 5 stars for our theme.

    Thank you so much for all your help!!!

    Best Regards,
    Jelly Team