vpContact Module for PostNuke
Articles / Yofitech, LLC News
Date: Dec 17, 2003 - 10:58 AM
|
If your mail transport agent (MTA) settings require a valid From address, or if your running some SPAM software that marks email headers without valid From addresses as spam, and you use the vpContact module on your PostNuke sites, then you will want to change your pnuserapi.php file. Line number 237 looks like this:
$mailheaders = "From: $uname <> \n";
Change it so it looks like this:
$mailheaders = "From: $uname <$uemail> \n";
This change places the user's email address, the one filling out the contact form, in the From portion of the email header and meets the passing criteria for the MTA and SPAM software, otherwise it may be denied or marked as SPAM and be filed accordingly.
The confirmation email being sent to the user was going out fine, but when I noticed the copy being sent to the site admin was in my spam folder, I knew it was due to my SPAM ASSASSIN settings. Thus after some troubleshooting, I figured out the problem and added the user's email to the From header for the copy of the email going to the site administrator. Consequently, if you used our Contact Module, received a confirmation email but it was never followed up on, then the copy that was sent to us was probably placed in our spam mail folder and deleted. Please resend any correspondences to us that are still relevant.
|
This article comes from Yofitech, LLC
http://www.yofitech.com/
The URL for this story is:
http://www.yofitech.com/modules.php?op=modload&name=News&file=article&sid=17
|
|