Why does creating contact forms require a password? : <p>So Im looking at having a contact form on my website where a person can type a message and send it, with the mesage going to my inbox.</p>

<p>But every time I see them online Ill see this:</p>

<pre><code> System.Net.NetworkCredential("yourEmail@gmail.com", "YourPassword");
</code></pre>

<p>Why do I need to provide my password? When you send someone a regular email, you dont need THEIR password. </p>

<p>I also have security concerns. Ok, it's in a .cs file, but still, I dont like seeing my password in plain text there.</p>

<p>Also, what about if its for a big company? Does ebay have their password in plain text? It's something I doubt. How do other people do it?</p>
