I have a simple contactform on my site, powered by Uniform.
As you can see in the screenshot above (sorry, no inline-code example) the form-messages are send to inbox@myserver.com
and the form-messages are send by contact@myserver.com
I also have a field email
were the user / sender can enter his / her own email-address.
When I receive a message, the raw headers are something like this;
###Question One - reply to the sender in person, not the server###
The problem is… when I hit “reply” in Thunderbird or Outlook (web-client, not Outlook Express the software suite) I reply to contact@myserver.com
because that’s the sender of the mail.
Of course, this is (technically) good behaviour, but is there any option I can reply direct to the address as mentioned in the email
field in my online form?
Like you can see in the screenshots above (Thunderbird / Outlook web), the message goes straight to contact@myserver.com
(while there is a reply-to
field, containing the right address… but both Outlook and Thunderbird do not obey this rule.
…this makes replying to an incoming email very hard, when you’ve a lot of communicating through your site.
###Update - maybe a solution?###
When I enter a non-existing email-address for the sender
, both Thunderbird and Outlook do reply at the real sender (the person) and not the sender
as defined in the code.
Maybe this is default behavior for those clients?
info@myserver.com
does reply to that address, but dso4342sfsaqs@myserver.com
does reply to the person who send the contact-message…
sender (required) - The email address used for the from field of the email that will be sent. This should be the address of your website, e.g. info@your-domain.tld. Some spam filters will cause problems if they discover an email with a from field that doesn’t match the server of it’s origin.
(from the official docs)
###Question Two - send cc: or bcc: with a single action###
Does the plugin by any change allow cc:
and / or bcc:
settings? I tried all options, even recipients separated by comma’s and also a double array with “email sent” actions, but nothing did work… only one message was delivered at a time.
(I can send a cc:
using two 'actions' => array(array('_action' => 'email'
codes, but than the confirmation-message is also shown twice… which looks… weird?)
###Question Three - get the name of the person as the sender###
Even I created a <input type="text" name="name" id="name" value="">
field, the real persons name (let’s say John Doo) is never mentioned as the sender (it only says sender : contact@myserver.com
) - but not the real persons name.
If you add a name=“name” field, the content will be used for the name of the sender in addition to the email address in the email header.
(from the official docs)