Topic on Extension talk:ContactPage

FromAddress not sent

4
Summary by Kghbln

Add an e-mail address to 'SenderEmail' like e.g. 'SenderEmail' = 'info@example.org',

Karlpietsch (talkcontribs)

This extensions is configured to put the FromName or FromAddress into the email sent, not both, if FromName is not provided then it uses FromEmail instead, furthermore if the required option is set to true FromName is required and always sent instead so there is no way at all of getting the senders email address at all without overriding the output using hooks. If email address is required in the form it should be sent, contact messages without a way to reply are of not much use?

Cymaxtec (talkcontribs)

Hi Karlpietsch , I know it's being a long time, but how did you resolve this issue? I'm facing the same issue with no luck. Thanks! Regards.

Fredrilj (talkcontribs)

You have probably fixed this by now, but this is how I fixed it:

  1. Set "$wgUserEmailUseReplyTo = true;"
  2. Change "'SenderEmail' => null, // Defaults to $wgPasswordSender" to "SenderEmail' => 'myname@gmail.com', // Defaults to $wgPasswordSender", even if "myname@gmail.com" was the same as the email address I used for $wgPasswordSender. Otherwise the replay address would be the $wgPasswordSender and not the email address that the user wrote in the contact scheme.
Kghbln (talkcontribs)

Thank you for clarifying this!