Hello everybody,
Well, I need to read a mail from a user (in fact, the last mail of all my user (the date of arrival of this mail by exemple). I know the admin password.
But I don't know VB, I think it's possibel, but I don' know how.
Please help...
I can use either VB 6.0 or I can do a vbscript but I really need help.
With my login : OK
"""""""""
Private Sub Form_Load()
Set oSession = CreateObject("MAPI.Session"
oSession.logon "satanas" & vbLf & "g-renard", "my_password", False, True, -1, True, "satanas" & vbLf & "g-renard"
MsgBox (oSession.CurrentUser.Address)
End Sub
I see : /o=Arte /ou=Strasbourg /cn=Recipients /cn=G-Renard
""""""""""""
With the admin login : Error
..
oSession.logon "satanas" & vbLf & "Admin Exchange", "password", False, True, -1, True, "satanas" & vbLf & "Admin Exchange"
..
The error:
Not the permission to open a session MAPI_E_FAILONEPROVIDER(8004011D)
Is it a profile Problem (I have two profile : Arte and Admin and If so, How can I resolve my problem.
Thanks in advance !
Guillaume
Well, I need to read a mail from a user (in fact, the last mail of all my user (the date of arrival of this mail by exemple). I know the admin password.
But I don't know VB, I think it's possibel, but I don' know how.
Please help...
I can use either VB 6.0 or I can do a vbscript but I really need help.
With my login : OK
"""""""""
Private Sub Form_Load()
Set oSession = CreateObject("MAPI.Session"
oSession.logon "satanas" & vbLf & "g-renard", "my_password", False, True, -1, True, "satanas" & vbLf & "g-renard"
MsgBox (oSession.CurrentUser.Address)
End Sub
I see : /o=Arte /ou=Strasbourg /cn=Recipients /cn=G-Renard
""""""""""""
With the admin login : Error
..
oSession.logon "satanas" & vbLf & "Admin Exchange", "password", False, True, -1, True, "satanas" & vbLf & "Admin Exchange"
..
The error:
Not the permission to open a session MAPI_E_FAILONEPROVIDER(8004011D)
Is it a profile Problem (I have two profile : Arte and Admin and If so, How can I resolve my problem.
Thanks in advance !
Guillaume