Working with outlook in webservice
I have code which works with .NET but if deployed as WebService gives exception.
The exception gives "The operation has timed out" error message
I tried increasing the Timeout in the web.config file but no luck
Code:
objApp = New Outlook.Application
objDummy = objApp.CreateItem(Outlook.OlItemType.olMailItem)
objRecip = objDummy.Recipients.Add("abcefghijk")
objRecip.Resolve()
I get exception on line "objRecip = objDummy.Recipients.Add("abcefghijk")"
Help me to solve this
Thanks in advance
~VanitaJ