Piwigo / ContactForm

Add a "Contact" item in the Menu block of Piwigo to offer a form to users for contacting webmasters and administrators.
http://piwigo.org/ext/extension_view.php?eid=304
2 stars 7 forks source link

separate From and Reply-to #3

Open plegall opened 9 years ago

plegall commented 9 years ago

When sending the email From foobar@yahoo.com to barfoo@yahoo.com, Yahoo says "not compliant with our policy, bla bla bla" because Yahoo knows foobar@yahoo.com was not sent through a Yahoo SMTP.

Maybe if we could have From: and Reply-to: it would avoid problem with Yahoo (and others like orange.fr and laposte.net)

nomadmot commented 5 years ago

I'm having similar issues... most large e-mail providers have policies in place to reject e-mail with from addresses that appears to be spoofed. So, if you check "Send me a copy of the e-mail" on the contact form, it tries to send a copy of the e-mail with the same e-mail address in "from" and "to". Of course, the receiving server knows darn well that it didn't send the mail, and rejects it. In the following reject message, the actual e-mail address is replaced with "test@someserver.com":

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

test@someserver.com host smtp.mailchannels.net [52.10.208.11] SMTP error from remote mail server after end of data: 550 5.7.1 [BFD] Sender prohibited by SPF Reporting-MTA: dns; a2ss40.a2hosting.com

Action: failed Final-Recipient: rfc822;test@someserver.com Status: 5.0.0 Remote-MTA: dns; smtp.mailchannels.net Diagnostic-Code: smtp; 550 5.7.1 [BFD] Sender prohibited by SPF

From: Testy mctester test@someserver.com Subject: [Nomad Travel Images] testing Date: January 28, 2019 at 3:40:36 PM CST Cc: Testy mctester test@someserver.com Reply-To: Testy mctester test@someserver.com