matthusby / brewcompetitiononlineentry

Automatically exported from code.google.com/p/brewcompetitiononlineentry
0 stars 0 forks source link

"From" email address should be customizable to prevent outgoing messages as being flagged as spam #441

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
process_contacts.inc.php

In order to make this file more third-party-hosting friendly I had to insert 
the following lines at line #64.

        $headers .= "From: brewmaster@brewclub.com" . "\r\n";
        $headers .= "Reply-To: ".$from_name." <".$from_email.">" . "\r\n";

The ISP allowed the use of the mail() php function, however, without explicitly 
stating the "From" address as one of the brewclub's domain accounts, the 
default mailI() from would come from brewmaster@my-ISP-server34.com, which 
would subsequently be flagged as spam by the ISP.

I think the "From" field should be customizable so that the user can choose an 
email account that their ISP will allow relaying from.  In this case the ISP 
would allow the relay from @brewclub.com instead of rejecting 
@my-ISP-server34.com as spam.

Original issue reported on code.google.com by timmcma...@100greenwood.net on 1 Nov 2014 at 5:46