Hi all,
For about a year now, I've had problems trying to send and receive email programmatically using Visual C#. Not a single example out of hundreds that I've found on the web have ever worked. And no, I don't just copy and paste. I study the code, and modify/add/remove as needed.
Can somebody PLEASE help me sort this out. I'm trying to finish what should've been a simple program that I started making last year, and it's proving to be almost impossible for me to figure out.
I honestly don't know what the heck to do anymore. The documentation provides no useful information to me because none of it has ever worked. I've given sample code to others to use, and it works for them - but not me! How does that work?
I don't know if SENDING mail is dependent upon what security/firewall settings my computer has or not. But just in-case, I have gone so far as to completely turn off all security and firewall settings temporarily just to see if it would send an email.
I don't have code for it anymore since I have only just started trying to do this thing again and I would really appreciate it if somebody could assist me in getting this working.
So, all I am trying to do is:
Create a simple Form with 2 buttons and a textbox. (done, ofcourse)
button1
checks for email (but only displays the subject and sender in a messagebox, does not download the message)
button2
sends the contents of textBox1 to "[email protected]
"
My server settings are:
Username [email protected]
Password ***********
IMAP/POP Server (Incoming): mail.bluebottle.com
SMTP Server (Outgoing): mail.bluebottle.com
SMTP should be port 25, 26 or 587
POP3 should be port 110, using SSL 995
IMAP should be port 143, using SSL 993
Thanks for taking the time to read. If I haven't explained anything clearly please say so and I will try to make more sense out of it for you.