0
Reply

Working with outlook in webservice

vanita_jamadar

vanita_jamadar

Jan 25 2005 11:48 PM
1.7k
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