Contact form does not work with AOL or Yahoo email (v. 2.83) (v. 2.83) (v. 2.83) (v. 2.83)
We strongly recommend using a domain or gmail email address as the 'Admin Email' for your site and Mals cart. Both Yahoo and AOL have updated their DMARC policies, and suggest using a domain email for web scripts.
If a store owner uses an AOL or Yahoo email as their Admin Email or in Mals, the contact form, guestbook, order tracking, wholesale application and email a friend scripts may not work, and emails may not get to the client's inbox.
If you have difficulty with emails getting into your inbox, we recommend the following modification to add a return path and bounce email. Please note that this fix has only been created for the 2.83 version! Changes have already been applied to 2.84e and above.
-
Open the contact.php file in the /enc/ folder and change:
Comments: $req_comments" .MAIL_PROCESSES, "From: $req_emailrnReply-To: $req_email");
to:
Comments: $req_comments" .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $req_emailrnReturn-Path: $Admin_Email", "-f$Admin_Email");
-
Open the guestbook.php file in the /enc/ folder and change:
$mailaddl" .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_Email");
to:
$mailaddl" .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email");
-
Open the orders.php file in the /enc/ folder and change:
@mail("$orderemail", "Forgotten Password", $ordmsg, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
@mail("$orderemail", "Forgotten Password", $ordmsg, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email"); -
Open the registry_forgot.php file in the /enc/ folder and change:
@mail("$regemail", "Forgotten Password", $regmsg, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
@mail("$regemail", "Forgotten Password", $regmsg, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email"); -
Open the wholesale.php file in the /enc/ folder and change:
@mail("$wsemail", "Forgotten Password", $mailsubj .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
@mail("$wsemail", "Forgotten Password", $mailsubj .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email");and change:
mail("$Admin_Email", "Wholesale Application", $mailsubj .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
mail("$Admin_Email", "Wholesale Application", $mailsubj .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email"); -
Open the email.php file in the /go/ folder and change:
mail("$req_toemail", "Check This Out", $mail_content .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
mail("$req_toemail", "Check This Out", $mail_content .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $req_fromemailrnReturn-Path: $Admin_Email", "-f$Admin_Email");and change:
mail("$req_fromemail", "Check This Out (copy)", $copy_content .$mail_content .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_Email");to:
mail("$req_fromemail", "Check This Out (copy)", $copy_content .$mail_content .MAIL_PROCESSES, "From: $Admin_EmailrnReply-To: $Admin_EmailrnReturn-Path: $Admin_Email", "-f$Admin_Email"); -
Open the finish.php file in the /go/ folder and change:
@mail("$adminemail", "Gift Certificate Redeemed", $gcrmsg, "From: $adminemailrnReply-To: $adminemail");to:
@mail("$adminemail", "Gift Certificate Redeemed", $gcrmsg, "From: $adminemailrnReply-To: $adminemailrnReturn-Path: $admemail", "-f$admemail");and change:
@mail("$adminemail", "Gift Certificate Purchase", $gcmsg, "From: $adminemailrnReply-To: $adminemail");to:
@mail("$adminemail", "Gift Certificate Purchase", $gcmsg, "From: $adminemailrnReply-To: $adminemailrnReturn-Path: $adminemail", "-f$adminemail");and change:
@mail("$adminemail", "Inventory Update", "The following changes have been made to your inventory:$invmessage
$mailaddl", "From: $adminemailrnReply-To: $adminemail");to:
@mail("$adminemail", "Inventory Update", "The following changes have been made to your inventory:$invmessage
$mailaddl", "From: $adminemailrnReply-To: $adminemailrnReply-To: $adminemail", "-f$adminemail");and change:
mail("$adminemail", "Mals Test", "$finish_msg $mailaddl", "From: $adminemailrnReply-To: $adminemail");to:
mail("$adminemail", "Mals Test", "$finish_msg $mailaddl", "From: $adminemailrnReply-To: $adminemailrnReturn-Path: $adminemail", "-f$adminemail"); -
Open the forgot.php file in the /storeadmin/ folder and change:
mail("$admemail", "Forgotten Password", $mailmsg, "From: $admemailrnReply-To: $admemail");to:
mail("$admemail", "Forgotten Password", $mailmsg, "From: $admemailrnReply-To: $admemailrnReturn-Path: $admemail", "-f$admemail");which appears twice in the code.
-
Save and reload all files.
- For best results when using an AOL or Yahoo email, create a domain email forwarder and forward the message to your AOL or Yahoo email address.