Configure SMTP Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi EveryBody:

How can I configure the smtp mail server in the passwordrecovery calss to
make it send an e-mail to the user that contain the user password ?

Any help will be appreciated

regard's
Husam
 
Assuming you are using PasswordRecovery.MailDefinition property,

<msdn>
The MailMessage object created by the MailDefinition class is sent using the
Send method of the SmtpClient class. To be able to send e-mail, you must
configure an SMTP mail server in your Web.config file. For more information,
see the smtp Element (Network Settings).
</msdn>
 
Back
Top