• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1578
  • Last Modified:

Microsoft.Exchange.WebServices SendAndSaveCopy Error

Hi,
I am using Microsoft.Exchange.WebServices from C# application to connects to Exchange server 2010 ,to send and receive emails.

when I am using  “SendAndSaveCopy” method to send emails out, occasionally I am getting following error.

One or more recipients are invalid.- Microsoft.Exchange.WebServices.Data.ServiceResponseException:
 One or more recipients are invalid.
   at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
   at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
   at Microsoft.Exchange.WebServices.Data.EmailMessage.InternalSend(FolderId parentFolderId, MessageDisposition messageDisposition)
   
Please can anybody explain this

Thank you
0
capitaldev
Asked:
capitaldev
  • 2
  • 2
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Hope this can help .... also what .Net is the EWS using ?

http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_27734432.html

- Rancy
0
 
capitaldevAuthor Commented:
.NET 4.0
0
 
capitaldevAuthor Commented:
I am using Web Services Managed API 1.1, on Windows 7  (32 bit)  and .NET framework 4.0

I am not getting this error all the time , it is happening only  around 2-5 % of out going emails.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now