Password Reset Email Issue

Hi All,

I’ve been having an issue with users receiving password reset emails on a particular Bluehost account and have finally been able to narrow down the culprit.

It seems that when the PHP call <?php echo $_SERVER['REMOTE_ADDR'] ?> is in the body of the USER-PASSWORD-RESET email template, the email shows as sent in the outgoing server log but is never received by the user.

When that PHP call is removed the emails are sent and received almost instantaneously.

I’ve tested this on users with both gmail accounts and others, and the problem occurs regardless of whether I’m using php mail or a SMTP Server.

None of the other PHP calls in the USER-PASSWORD-RESET template seem to affect the email process.

None of the senior techs at Bluehost have been able to find any anomalies in this email account or server that would account for the problem.

I’ve removed the offending code for now, but would really like to solve the problem. 

Any ideas appreciated.

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

I will Dave, and thanks for looking at this.

It's not a critical issue, just annoying that we can't find the cause.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Dave - October 24, 2016

Hi Jerry, 

We were able to confirm it's related to the mail server.  When we add something that looks like an IP address (1.2.3.4) to the message content the message is not delivered.

I emailed you a simple script that reproduces and demonstrates the problem and instructions to forward to your host so they can reproduce and resolve the issue.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com

By gkornbluth - October 25, 2016 - edited: October 25, 2016

Thanks for your help, Dave,

I've passed it on and hope they can find a solution.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php