Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid Recipient Error with OLE MAPI Controls
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00253890
Message ID:
00254460
Views:
22
>>Hello Nigel,
>>
>> Your class works perfect for me but with just one detail: when I send mail y must first receive incoming mail.
>>How can I avoid that ?
>
>I don't understand; you should be able to send mail without having to receive mail first?!?
>

Nigel,

What happens to me is that if I have Outlook 98 or 2000 (Probably the same with 97) with two services installed - Internet E-mail and MS Exchange, when you do a send() with Mapi, it runs a full send and receive. That means that first it goes to the internet e-mail service and does a send and receive, after it goes to MS Exchange and does a send and receive.
In MS Exchange, you generaly have it configured to receive messages as they are delivered by the server so you don't notice the difference. But with internet e-mail you can see it sending and receiving new mail.

There is no way to avoid the two operations as the recipient you are sending mail to can be in the local MS Exchange or in Internet-Mail (Outlook resolves the names).

But it would be good if there was a way to just send and not receiving mail.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform