Hi,
I have used this plugin and it is working great, my site has an option where logged in user can send email to ADMIN but in the mail FROM name & Email need to have their own but this plugin overwrites.
I have used this:
$headers1[] = 'Content-Type: text/html; charset=UTF-8';
$headers1[] = 'From: Me Myself <me@example.net>';
$headers1[] = 'Cc: John Q Codex <jqc@wordpress.org>';
$headers1[] = 'Cc: iluvwp@wordpress.org';
$mail = wp_mail( $to, $subject, $message, $headers1);
but still it send with the name & email that the plugin page have. Also I can not make that empty otherwise I need that in all other emails.
Please suggest.
Thanks Sanny