Safe to use SMTP for contact form?

bshot1

New Member
Licensed User
Longtime User
I'm just starting out and have a few questions. I played around a bit and figured out that the NET libraries with SMTP could work for a basic contact form , something along these lines for the Ui:

Name :
Your Email :

Check box/radio button group

Send button


The coding portion would use smtp to send an email (log into our account, via smtp, then send an email out to another one of our accounts).

The obvious question is, is that safe? Since the code will basically have the password in it, is it a dumb idea to go about it that way?

If so, any suggestions on a better way of basically making a contact form? :sign0104:
 

bshot1

New Member
Licensed User
Longtime User
Make sure that the username and password strings are process_global strings. This way they will be obfuscated.

I also recommend you to register a new mail account for this feature.

Storing the password in your application cannot be 100% safe.

Thanks, I saw the obfuscation feature and read up on it a bit. It's a possible route, but it's still breakable. For now it looks like I just need to read up on HTTP POST and use that.
 
Top