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

5 replies
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?
#basic #email #log #make #program #visual
  • Profile picture of the author mikeroosa
    Log you into your email how? Outlook or another mail client?
    {{ DiscussionBoard.errors[2041250].message }}
  • Profile picture of the author Manfred Ekblad
    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?
    {{ DiscussionBoard.errors[2042029].message }}
  • Profile picture of the author Frank Wright
    Originally Posted by simpleonline1234 View Post

    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?
    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.
    {{ DiscussionBoard.errors[2050569].message }}
    • Profile picture of the author specopkirbs
      Originally Posted by Frank Wright View Post

      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.
      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
      {{ DiscussionBoard.errors[2052414].message }}
  • Profile picture of the author chuawenching
    Easy, just play around with System.Net.Mail namespaces System.Net.Mail Namespace ()

    There are plenty of examples for this one
    {{ DiscussionBoard.errors[2092663].message }}

Trending Topics