contact form always sends as wordpressxxxxxx

Latest Reply from Alice at 2016-02-09 09:02:26 Solution
hello, we are using the pressa 2.0 theme. the contact form works great but instead of the submitter's email address it will arrive as wordpress@mydomain.com. How can we tweak the form to send the email as the submitter?

Thanks,
E
Hi!

If you want to change something in the email format you need to edit the code:

wp_mail($SMTheme->get( 'contactform', 'email' ), 'Message from '.$from, $msg);


inside the feedback.php file located in the directory of the theme on your server.
wp_mail()
is a standard WordPress fuction. Please, read the WordPress codex on how to change it.

Leave a reply

Add codeAdd image