Contact Form - ReplyTo or Output fromEmail So I have a contact form set up in Craft using the Contact Form plugin. I have it rigged up with Mandrill as the SMTP provider and unfortunately with the notifications, the from email address is getting stripped out of the headers by Mandrill. So there's no way to determine who the email came from in order to reply to that person.

So my question is - is there a way to set the replyto to the fromEmail OR is there a way to output the from: email address in the resulting notification message?

Many thanks in advance from me and the client dealing with it!

Cheers,
J
Not without hacking (boo!) or forking (yay!) the plugin.

Currently, the fromEmail is being set from the email address set in the plugin's setting.

$email-&gt;fromEmail = $emailSettings['emailAddress'];


And the replyTo is being set to the email that was supplied on the front-end contact form.

$email-&gt;replyTo   = $message-&gt;fromEmail;


This is done because some email servers will see that the from address is different than the domain the email originated on and wrongly mark it as SPAM.

You'd adjust those however you need.

If you want to output the email in the message body, you'd just need to add it to the $message-&gt;message property in the controller.

Alternatively, you can use a more robust form building solution.