Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hola a todos, tengo un error al usar MAPI y VB6 con Outlook. Error 32002 al ejecutar:
Hello everyone, I have an error using MAPI and VB6 with Outlook. Error 32002 when running:

MAPIMessages1.Send True

alguno podra ayudarme?
could anyone help me?

--VB6
--Windows 10 Pro
--Microsoft Outlook 1.2023.1004.400 (Production) (La versión del cliente es 20231006004.05)

What I have tried:

MAPISession1.DownLoadMail = False
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.MsgSubject = "prueba de mail con outlook"
MAPIMessages1.RecipAddress = "hola@mail.com"
MAPIMessages1.RecipDisplayName = "Gabriel"
MAPIMessages1.MsgNoteText = "prueba"
MAPIMessages1.Send True
MAPISession1.SignOff
Posted
Updated 11-Oct-23 11:18am
Comments
Richard MacCutchan 12-Oct-23 3:47am    
This is an English language website, please translate your question so all members are able to understand the problem.

Also note that VB6 has been out of support for more than 20 years.
CHill60 12-Oct-23 7:16am    
Has this ever worked on Windows 10 with this verison of Outlook? If so then a recent Office update has probably rendered Outlook incompatible with VB6 (See Richard's comment on how long since VB6 was supported)
If it has never worked with this set up then your program has reached the end of its life and must be replaced with one written in a more modern language
Gabriel Adrian 12-Oct-23 9:24am    
Richard and CHill60, thank you for your comments.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900