Regarding MAPI and Visual Basic
Posted on 1999-11-01
I am using the MAPI controls on a VB form to successfully send email messages. Thanks for the many posts regarding this. My question is: I notice that when the email is sent, it pops up the familiar "connecting, sending message 1 of 1" message, and progress bar right over my form. At this point, is VB waiting? If I have other things going on in the background, will they be halted? I noticed that while this box is up I can't click on any area of the VB screen. Can I make it so this box does not pop up? Also, can I change the default timeout to less than 30 seconds. If our pop3 server isnt working, or the network is down, I don't want the thing to hang that long.
I'm basically trying to send an email at a certain point during a test, and I don't want it hanging there.
P.S. Other than that, it works great. I'm using VB6.0 with the MAPI controls and Outlook Express. I couldn't get Microsoft Internet mail to work. We only have internet mail, (no Exchange).