I am working on a simple portal application using ASP.NET controls and inputs. I would like to use the PasswordRecovery control to send emails containing forgotten passwords, however, my portal requires localization. I have an existing content management system from which I take out localized strings, and I would like to associate the PasswordRecovery control with this system.
But it looks like the PasswordRecovery control will ONLY accept the .txt file for the email body ... PasswordRecovery1.MailDefinition.BodyFileName property
I do not want to use the file on disk, I would like to use localized content in my CMS.
Is there any way to do this? It occurred to me that I could use the SendingMail event to send my OWN email through the regular System.Net namespace, but this seems inconvenient ...
Any thoughts?
Thanks Max
source
share