Configure SMTP Server

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
 
G

Guest

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top