Email In C#
-
Hi all, if someone forgets there password for login to a website, i would like to send them an email with there username and password by quering the database. Can any one advice me on the C# code that is used for sending email to a user? Thank you in advance.
-
Hi all, if someone forgets there password for login to a website, i would like to send them an email with there username and password by quering the database. Can any one advice me on the C# code that is used for sending email to a user? Thank you in advance.
If you search this site for an article called 'how to use google', you'll find that I both answer your question, and the underlying question that caused you to need to ask this.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
If you search this site for an article called 'how to use google', you'll find that I both answer your question, and the underlying question that caused you to need to ask this.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Hi Christain, Thank you for your response. Can you at least learn to be polite? Any ways I have the Answer : System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(sSMTPUser, sSMTPPass); SmtpClient emailClient = new SmtpClient("smtp.gmail.com",587); The 587 works with some mail Client but not with others like Gmail, etc...
-
Hi Christain, Thank you for your response. Can you at least learn to be polite? Any ways I have the Answer : System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(sSMTPUser, sSMTPPass); SmtpClient emailClient = new SmtpClient("smtp.gmail.com",587); The 587 works with some mail Client but not with others like Gmail, etc...
-
Hi Christain, Thank you for your response. Can you at least learn to be polite? Any ways I have the Answer : System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(sSMTPUser, sSMTPPass); SmtpClient emailClient = new SmtpClient("smtp.gmail.com",587); The 587 works with some mail Client but not with others like Gmail, etc...
kibromg wrote:
Can you at least learn to be polite?
Watch your tone there, Christian Graus has been a member at codeproject for years, with over 50,000 posts and 30 articles, his Fixture/Legend status has been earned. You are a firstly and obviously a beginner and new to programming, you're putting in NO effort to make your system functional other then expecting your work handed to you. I'll be less polite then others, get the fuck off your ass and go learn to use Google, and if you can't find your answer there then guess what, it's time to find a different fucking profession, one that is more suited to your (lack of) intelligence. How's that for polite, buddy?
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
kibromg wrote:
Can you at least learn to be polite?
Watch your tone there, Christian Graus has been a member at codeproject for years, with over 50,000 posts and 30 articles, his Fixture/Legend status has been earned. You are a firstly and obviously a beginner and new to programming, you're putting in NO effort to make your system functional other then expecting your work handed to you. I'll be less polite then others, get the fuck off your ass and go learn to use Google, and if you can't find your answer there then guess what, it's time to find a different fucking profession, one that is more suited to your (lack of) intelligence. How's that for polite, buddy?
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
EliottA wrote:
How's that for polite, buddy?
Not much, I'm afraid. However it is pretty clear, except for some asterisks. Do you really need 27 letters in your alphabet? :laugh:
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
EliottA wrote:
How's that for polite, buddy?
Not much, I'm afraid. However it is pretty clear, except for some asterisks. Do you really need 27 letters in your alphabet? :laugh:
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
I could have circumvented then filter, but I didn't feel it appropriate. Those responses truly get to me, especially when geared towards people with high post/article counts who have contributed more then enough for others. I knew zilch about programming before I stumbled my butt onto this site, and learned from various tutorials and posts before I began to post myself. So retorts like that, insulting from people from whom I've directly (or indirectly) learned off of comes as a direct insult to me.
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
I could have circumvented then filter, but I didn't feel it appropriate. Those responses truly get to me, especially when geared towards people with high post/article counts who have contributed more then enough for others. I knew zilch about programming before I stumbled my butt onto this site, and learned from various tutorials and posts before I began to post myself. So retorts like that, insulting from people from whom I've directly (or indirectly) learned off of comes as a direct insult to me.
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
Yes, you and I both don't like what was said. However, if I would want to call someone impolite, I would still try and do so in a polite way if such is possible at all. :rose:
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Yes, you and I both don't like what was said. However, if I would want to call someone impolite, I would still try and do so in a polite way if such is possible at all. :rose:
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.