#1850 Reset password emails failing

phpws1.x
closed-fixed
5
2009-02-10
2009-01-30
No

Problem noticed with phpWebsite 1.6.1

When there are certain characters in the website title (e.g. '.', '/', and possibly others) and someone goes through the Forgot Password routine, emails fail to go out and the user sees the response "We are currently unable to send out email reminders...".

In looking at the code I see that the emails include the site title in the From field of the email. The special characters in the title cause the email to fail.

This affects both types of emails that can be sent from the Forgot Password form. And if the same technique of including the site title in the From fielf of the email address is used elsewhere in the application, I assume those places are also affected.

The work around, naturally, is to avoid using special characters in the site title. But the Layout module accepts these characters, so it is going to affect people sooner or later.

Discussion

  • Anonymous - 2009-02-10

    I have rewritten checkAddress in the Mail function. It should allow titles to be present while still focusing on checking the actual address.

     
  • Anonymous - 2009-02-10
    • assigned_to: nobody --> stardog
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks