In Visual Basic how can you make a program that can log you in to your email?

by 5 replies
6
I wanted to create a simple Visual Basic 2008 program that can log me into my email with a click of a button...what would a the code for the button look like?
#programming #basic #email #log #make #program #visual
  • Log you into your email how? Outlook or another mail client?
  • if you want your application to do stuff in outlook then have a look at stuff like Office Automation How to automate Outlook by using Visual Basic (sample link, you'll have to google)

    if you want your application to log in to a webmail account then you can look at stuff like "webclient" and "httpwebrequest".

    what exactly are you trying to do?
  • I assume you are not trying to automate via Outlook but looking for a solution that would just work plainly in VB.Net. This would involve socket programming and you can search for "vb.net socket pop3" in the search engines and that should throw you some good results.
    • [1] reply
    • thats exactly the way i have done it with my autoresponder, its not too difficult with vb.net , i know this is asp.net but everything you need is there
      hxxp://w3.aspnettutorials.cxm/tutorials/email/retrieve-email-pop3-vb.aspx

      sending via smtp is even easier
      replace the hxxp and w3 and the c0m
  • Easy, just play around with System.Net.Mail namespaces System.Net.Mail Namespace ()

    There are plenty of examples for this one

Next Topics on Trending Feed