Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I recieve emails from a web server in Visual Basic? 1

Status
Not open for further replies.

Light777

Programmer
May 15, 2003
32
US
I need to be able to check my email account every so many seconds for new emails and retrieve them. Is there a fairly simple way to do this in Visual Basic?
 
Try using the MapiSessions Control and the MapiMessage control in conjunction with a Timer control.

There is a good intro to the Mapi controls in VBHelp or at:


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
I can use MAPIsessions to log in and provide a username and password, but how do you set the domain name where the email is stored?
 
Set the username property to your default Mapi service (eg Outlook/Exchange/whatever) and Mapisession picks up all the details from there for the currently logged user


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top