another bug fix for windows box unforutnately php win build doesnot support this coomand getmxrr() if you using the phpwsmail hack you have to change this line in the cb_common lib cb_validation.php file
=====search
//if ( getmxrr($host, $validate_email_temp) ) {
return true;
}
===End Search Change to(if on windows box)
if ( gethostbyname("$your url") ) {
return true;
}
OR
if ( gethostbyaddr($REMOTE_ADDR))
{
return true;
}
This Line Checks To See if the server is valid so spamming will not occur if you do not change this line this mod wont work on the win box..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
another bug fix for windows box unforutnately php win build doesnot support this coomand getmxrr() if you using the phpwsmail hack you have to change this line in the cb_common lib cb_validation.php file
=====search
//if ( getmxrr($host, $validate_email_temp) ) {
return true;
}
===End Search Change to(if on windows box)
if ( gethostbyname("$your url") ) {
return true;
}
OR
if ( gethostbyaddr($REMOTE_ADDR))
{
return true;
}
This Line Checks To See if the server is valid so spamming will not occur if you do not change this line this mod wont work on the win box..
phpws_mail 2.0.2 and phpws_mail CVS have this MX validation as optional. No need for the above hack.
http://phpwsmods.quickdots.net/article.php?sid=168
Michael