Answer the question
In order to leave comments, you need to log in
What tools can be used to set up correct email sending in WordPress?
The website with CMS WordPress has a Contact from 7 feedback form installed. How can I set up the correct sending of letters to mail from recipients? Recommend plugins and steps to follow.
Answer the question
In order to leave comments, you need to log in
Plugin "Configure SMTP" + correctly configured mail domain on external smtp (pdd, google apps, office 365 and etc).
using ajax to pass form parameters to :
<?php
$to = '[email protected]';
$subject = 'the subject';
$message = $_REQUEST['mes'];
$headers = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question