Am using Microsoft Exchange WebServices API to send email via exchange server. some times its not accepting the email recipients,but when i copy the same recipients and sent from outlook, the outlook able to send for that same addresses. and am receiving the Un-deliverable notice. but why i cant send via EWS API, Do i need to enable something while sending email?
Error :
Microsoft.Exchange.WebServices.Data.ServiceResponseException: One or more recipients are invalid. at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable
1 items, FolderId parentFolderId, Nullable1
messageDisposition, Nullable
1 sendInvitationsMode, ServiceErrorHandling errorHandling) at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable1
messageDisposition, Nullable
1 sendInvitationsMode) at Microsoft.Exchange.WebServices.Data.EmailMessage.InternalSend(FolderId parentFolderId, MessageDisposition messageDisposition)