Iron Speed Technical Forums
Register Latest Topics
 
 
 


Reply
  Author   Comment  
tom_graham

Registered:
Posts: 59
Reply with quote  #1 
I have a 9.2 application that is doing the same thing as the post below. Has this issue been fixed in v10? Can you override SendPasswordToUser()?

Quote:
Originally Posted by lnadai
As far, as I can tell:
In admin.UI.ForgotUser:sendPasswordToUser (line 706-707) sets the "from" email and the "to" email to the same value that was entered during login:
            email.AddFrom(uemail);
            email.AddTo(uemail);
This results in incorrect email (most likely will wind up in your spam folder as a phishing attempt).
It should use the "smtp from" set in the web config.
Just to test, I changed the cs code by just hard-coding the "from" email, and worked fine.
Unfortunately when I do a rebuild all, my fix disappears.


http://sjc.ironspeed.com/post/email-lost-pw-bug-5616297
tom_graham

Registered:
Posts: 59
Reply with quote  #2 
Is nobody having this issue any longer? I have a few customers who use the "Forgot Password" feature and the email never gets to them because the FROM address being the same as the TO address. Their email security is bouncing it every time.

Thoughts?

Tom
akeshgupta

Avatar / Picture

Iron Speed MVP
Design, Develop & Deliver

Registered:
Posts: 1,095
Reply with quote  #3 
Hi Tom:

I setup the environment and do see your point.  I copied the Send Password code and pasted it in the Button Click event to make it work.

As the code is in Section II, it will always get reset on every build.  

Please report this issue to support.

HTH,

__________________
Akesh Gupta
Light Speed Solutions, LLC.
If I rest, I will rust !   Let's share the knowledge !
tom_graham

Registered:
Posts: 59
Reply with quote  #4 
Will do. Thanks for the response.

Tom
tom_graham

Registered:
Posts: 59
Reply with quote  #5 
UPDATE: Issue under review. Here is the workaround.

"To change in your application you must override the button click handler in section 1,
and then copy any code it calls into that method to customize it.
You will probably need to copy the SendPasswordToUser() method and customize it,
or provide a custome BaseClasses.Utils.MailSenderInThread() method.
SendPasswordToUser() is in the ForgotUser code behind, and MailSenderInThread is
in the BaseClasses." -- Bill White
 
SkyForum

Registered:
Posts: 48
Reply with quote  #6 
Apparently, the issue was never resolved before everyone jumped ship. Still does not work. I do not believe it's being blocked, I think it's not going out at all. 
__________________
As you get older, your patience begins to wane. As a result, you become the "Grumpy Old Guy".  At 60 years of age I have become this guy. I am now faced with the dilemma of an old dog learning new relationship tricks to survive. [rolleyes]
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Download Iron Speed Designer

Terms of Service Privacy Statement