greygroove
July 30th, 2002, 09:17 PM
Has any one tried something like this from a web form ?
Public Function Logon() As Boolean
Dim objSession As New MAPI.Session()
Dim strProfileInfo As String
strProfileInfo = "exchangeserver" & vbLf & "name"
Try
objSession.Logon("", "", False, True, 0, True, strProfileInfo)
Return True
Catch ex As Exception
Return False
End Try
End Function
This function runs fine if executed in a windows application.(VB .net) or ASP
any restrictions of running CDO from ASP.net ,couldn't find any help on this in MSDN ?
thanks much,
</greygroove>
Public Function Logon() As Boolean
Dim objSession As New MAPI.Session()
Dim strProfileInfo As String
strProfileInfo = "exchangeserver" & vbLf & "name"
Try
objSession.Logon("", "", False, True, 0, True, strProfileInfo)
Return True
Catch ex As Exception
Return False
End Try
End Function
This function runs fine if executed in a windows application.(VB .net) or ASP
any restrictions of running CDO from ASP.net ,couldn't find any help on this in MSDN ?
thanks much,
</greygroove>