Quantcast
Channel: smtp – WordPress.org Forums
Viewing all articles
Browse latest Browse all 2272

nantokuko on "[Plugin: Easy SMTP Mail] SMTP classes!"

$
0
0

Dear,
i have a wordpress site at http://www.asantabrigida.com;
It's wordpress 3.8.2 with Vierra theme: themeforest.net/item/vierra-responsive-hotel-wordpress-theme/5992155 ;
The provider (www.aziendeitalia.it) has specified that the function phpmail is disabled, and suggested to install your great plugin.
If i send a test mail, i receive it.
But if i send a mail from the contact form, i don't receive nothing.
I called the help-desk of provider, and they told me i have to modify my send.php, and to use SMTP classes(???)

My send.php file is quite simple:

<?php
session_start();

    $email_to = get_option('de_email'); // change with your email
    $name     = $_POST['name'];
    $email    = $_POST['email'];
    $subject   = $_POST['subject'];
    $message    = $_POST['message'];

    $headers  = "From: $email\r\n";
    $headers .= "Reply-To: $email\r\n";

    if(mail($email_to, $subject, $message, $headers)){
        echo "success";
    }
    else{
        echo "failed";
    }
?>

How can i modify this file, to make it work with your plugin?
I can give also to you username and password to enter in wordpress admin area.
PLEASE HELP ME...

https://wordpress.org/plugins/webriti-smtp-mail/


Viewing all articles
Browse latest Browse all 2272

Trending Articles