Program that lets user input text and have it be emailed

October 30, 2012 at 19:53:13
Specs: N/A
So I wanted to make a program in C# (Visual Studio 2010) that I could distribute to a bunch of my friends that would let them input their thoughts from their own computer (kind of like a survey) and have it be sent to me (whether it be using SMTP or a database, etc.) so that I can then compile all of the text and have it published in article for us all to see.

Basically the application serves as a program that anyone can download that lets them submit a survey without the need of putting in their email address and such.

I have minor experience with Java in Processing. Otherwise that's really it. I'm eager to learn! If it's something easy, I'd appreciate if you can show me how to do it. If not, let me know what I should do.


See More: Program that lets user input text and have it be emailed

Report •

October 31, 2012 at 00:33:08

Report •

October 31, 2012 at 21:22:21
afaik, to send email, you have to "log in" to the smtp server, which requires the server (, f./e), username ( and the password
I don't think there's a way around this using email. FTP (as guest) might be another option. vbscript can send emails, (see ) but, again, it requires those same three items.

Report •

November 1, 2012 at 03:00:10
You don't have to log in to an SMTP server to send mail to it. That would require every mail server in the world to have accounts on every other mail server. But it is true that if you wish to use a fixed SMTP server as your relay for all outgoing mail then you may need an account on it.

To send directly to an SMTP server you need to determine the IP address of the mail server for the domain that you are sending to, which is not a difficult task. Using a relay avoids this, which is what most mail clients do. It's perfectly possible to use the SmtpClient class to connect directly to the target server, but easier to use the same SMTP server as your mail client would. Authentication information can be supplied by the SmtpClient class. All you are doing is writing a very simple, outbound only, mail client. The link I gave provides a simple example that you can elaborate.

Report •

Related Solutions

Ask Question