Author: andieje | Posted on: 8/25/2009 7:53:32 AM | Views : 593

Hello
Is it possible to use the password recovery tool in asp.net 2.0 such that it does not use the MailDefinition tag to send the email but lets me create a custom email and send it myself. Perhaps that defeats the labour-saving point of the control. If this is possible, please can you advise how i would do it?
I don't want to simply use the mail definition feature of the control because this only sends out one email. When i send emails, however, i normally send multipart emails containing a text version and a html version and this is what i would like to do here. I have a header and footer templates for the text and html emails. My email code normally looks like this:
 
'(1) Create the MailMessage instance Dim fromEmail As String = System.Configuration.ConfigurationManager.AppSettings("fromEmail") Dim mm As New MailMessage(fromEmail, alert.Email) Dim templateDir As Stri ...

Go to the complete details ...