Contact form not working

Theme support is offered to verified customers by forum only. Support requests and solutions made by email, Skype, Envato or any other method will be redirected back to the forum.

This topic is: not resolved
  • In Progress
    Posted in: Hikari  
  • Member
    rayzelli
    January 8, 2014 at 1:25 pm #30627

    I bought the Hikari template and have successfully used it to create my site: refineeskincare.com the only page right now that’s not working is the contact page. I have input the right fields in the php for as below and you can check it out live on my page: http://www.refineeskincare.com/contact.html


    Please Help:

    <?php

    $name = $_POST; // contain name of person
    $email = $_POST; // Email address of sender
    $subject = $_POST; // Your website URL
    $body = $_POST; // Your message
    $receiver = “info@refineeskincare.com” ; // hardcorde your email address here – This is the email address that all your feedbacks will be sent to
    if (!empty($name) & !empty($email) && !empty($body)) {
        $body = “Name:{$name}nnSubject :{$subject}nnComments:{$body}”;
    $send = mail($receiver, ‘Contact Form Submission’, $body, “From: {$email}”); //Change Contact Form Submission to what you want the incoming email to be called
        if ($send) {
            echo ‘true’; //if everything is ok,always return true , else ajax submission won’t work
        }

    }

    ?> 

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.