Forum usesen

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: diffrent template #11407
    Your License Key is Valid, Welcome Jewel Theme Premium Support Forum !

    Item Name: Angels – Clean & Creative vCard Portfolio Template

    Envato Username: usesen

    License: Regular License

    Created: Wed Mar 23 04:03:25 +1100 2016


    usesen
    Customer
    Posts: 2

    Did I make the following changes to the right?

    if($_REQUEST[‘name’] == ” || $_REQUEST[’email’] == ” || $_REQUEST[‘message’] == ”):
    return “error”;
    endif;
    if (filter_var($_REQUEST[’email’], FILTER_VALIDATE_EMAIL)):

    // Receiver email address
    $to = ‘info@ugursesen.com’; //Change the email address by yours

    // prepare header
    $header = ‘From: ‘. $_REQUEST[‘name’] . ‘ ‘. $_REQUEST[’email’] .”. “\r\n”;
    $header .= ‘Reply-To: ‘. $_REQUEST[‘name’] . ‘ ‘. $_REQUEST[’email’] .”. “\r\n”;
    $header .= ‘Cc: ‘ . ‘usesen@hotmail.com.tr’ . “\r\n”;
    // $header .= ‘Bcc: ‘ . ‘example@domain.com’ . “\r\n”;
    $header .= ‘X-Mailer: PHP/’ . phpversion();

    // Contact subject

    $subject = ‘Email from Angles HTML5 Template’; // Subject of your email

    $message .= ‘Name: ‘ . $_REQUEST[‘name’] . “\n”;
    $message .= ‘Email: ‘ . $_REQUEST[’email’] . “\n”;
    $message .= ‘Message: ‘. $_REQUEST[‘message’];

    // Send contact information
    $mail = mail( $to, $subject, $message, $header );

    echo ‘sent’;
    return “başarılı”;
    else:
    return “error”;
    endif;

  • in reply to: diffrent template #11406
    Your License Key is Valid, Welcome Jewel Theme Premium Support Forum !

    Item Name: Angels – Clean & Creative vCard Portfolio Template

    Envato Username: usesen

    License: Regular License

    Created: Wed Mar 23 04:03:25 +1100 2016


    usesen
    Customer
    Posts: 2
Viewing 2 posts - 1 through 2 (of 2 total)