I am having problems with my MAPI controls. This worked fine up until a week ago. Nothing has changed since then.
The numbers are in the code for example only.
Here is how it goes down.
Users starts app.
Send email
This error happens executing line: 7
Error 32026 MAPIMessages, Not supported
Try to send again.
This error happens executing line: 1
Error 32050 MAPISession, Logon failure: valid session ID already exists
Each time they try they get 32050. If they exit the app and restart then they get 32026 the first time and 32050 again, etc....
-Code-
1 .MAPISession1.SignOn 'connect to exchange server
2 .MAPIMessages1.SessionID = .MAPISession1.SessionID
3 .MAPIMessages1.Compose
4 .MAPIMessages1.RecipDisplayName = strTO
5 .MAPIMessages1.MsgSubject = strSubject
6 .MAPIMessages1.MsgNoteText = strMessage
7 .MAPIMessages1.ResolveName
8 .MAPIMessages1.Send
9 .MAPISession1.SignOff
-END Code-
I can not find any info on this anywhere. Please help.
Thanks in advance. Chris
LAN Administrator
cjoseph@hdii.com
Liberate your mind
The numbers are in the code for example only.
Here is how it goes down.
Users starts app.
Send email
This error happens executing line: 7
Error 32026 MAPIMessages, Not supported
Try to send again.
This error happens executing line: 1
Error 32050 MAPISession, Logon failure: valid session ID already exists
Each time they try they get 32050. If they exit the app and restart then they get 32026 the first time and 32050 again, etc....
-Code-
1 .MAPISession1.SignOn 'connect to exchange server
2 .MAPIMessages1.SessionID = .MAPISession1.SessionID
3 .MAPIMessages1.Compose
4 .MAPIMessages1.RecipDisplayName = strTO
5 .MAPIMessages1.MsgSubject = strSubject
6 .MAPIMessages1.MsgNoteText = strMessage
7 .MAPIMessages1.ResolveName
8 .MAPIMessages1.Send
9 .MAPISession1.SignOff
-END Code-
I can not find any info on this anywhere. Please help.
Thanks in advance. Chris
LAN Administrator
cjoseph@hdii.com
Liberate your mind