Microsoft.Exchange.WebServices  SendAndSaveCopy Error

Posted on 2012-08-22
Last Modified: 2013-01-30
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
Question by:capitaldev
    LVL 52

    Expert Comment

    by:Manpreet SIngh Khatra
    Hope this can help .... also what .Net is the EWS using ?

    - Rancy

    Author Comment

    .NET 4.0

    Author Comment

    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.
    LVL 52

    Accepted Solution


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now