By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,214 Members | 2,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,214 IT Pros & Developers. It's quick & easy.

Configure SMTP Server

P: n/a
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
Jun 9 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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>

"Husam" wrote:
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
Jun 9 '07 #2

P: n/a
Does this help?
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry

"Husam" <Hu***@discussions.microsoft.comwrote in message
news:4E**********************************@microsof t.com...
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

Jun 10 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.