Hi,
When user enters their email id i how to send email to them ? whether it is good to send their password or send a link to change password? how to make the link not working after 24 hrs/1 day?
1. Get email from textbox
2. You can fire a query
select password from users where email = @email
Sir,
I want to send this password to the email entered .
Refer here
http://www.aspsnippets.com/Articles/Send-SMTP-Emails-using-System.Net-Class-in-C.aspx
That link to send email which you have provided is using gmail account right? what if they dont have gmial account?
That's for example purposes I have used GMAIL. You can use any account same code with work.
You will need to accordingly change the following settings
SMTP server
UserName
Password
Port
SSL
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.