So, you have a good code, what is your problem. Check Stored Procedure before Sending a mail.
First Check that if email id exists or not which you have done in below step.
int rowcount = ds.Tables.Rows.Count;
if (rowcount > 0)
Now just place an Else block and print a message, "This Email ID is not associated with us, Register here."
Glad to Know, Free to Share.....
Reddysankark@Yahoo.Com, if this helps please login to Mark As Answer. |
Reply | Alert Moderator