Using contactform never sends the sender e-mail, you have to reply... that is so 1996... :-) #5977
|
@e107help in contact.php you find this: But when you change it to: The sender mail address is always in the body of the mail, or do you see another solution? |
Replies: 2 comments 2 replies
|
@Alex-e107nl your reading is right: the address genuinely never reaches the message. And it isn't an oversight of the
So all the recipient has is Your patch does fix it, though I'd put the address somewhere a reader will look for it rather than trailing after the closing $body .= "<tr><td>Email:</td><td>" . $tp->toEmail($sender, true, 'RAWTEXT') . "</td></tr>";
Separate thing you may not have spotted while you were in there: Filed as #5980. |
|
Yes, also perfect now! THX! |
@rica-carv worth asking, and the trade is worth stating plainly rather than waving off.
For the recipient, nothing changes. The message goes to one person, the contact recipient the form resolves to, and that person has always had the sender's address: it rides as
Reply-Toon contact.php:294-301 and has done since 2021. The new row puts the same address in the body of the same message to the same reader.Where it does differ is the case you are pointing at. Most clients drop
Reply-Towhen a message is forwarded inline; a row in the body survives. So an address that used to stop with the recipient can now travel on to whoever they forward it to. That is the point of the change rather than …