Skip to main content


 

Symptoms


Error on Client Event when emailing to CC list of multiple users
 

Diagnoses


When trying to send an email using a Client Event, if the CC field is taken from a list of users, and there are more than one users in the list, it fails.
However, if sending to the SAME CC list via an Email Event, it works.

I have tested:
1. manually adding multiple users to the CC field - works
2. just having one user in the email list - works
3. cutting and pasting the list from the Email Event into the Client Event - same issue

I have attached the error log: (search for 'Workflow Approval Application Test Please Ignore - 44540')
----------------------------------------
"909354537","2015-03-30 15:26:23","Error","General","1","GeneralErrorMessage","EwsMessageDestination","1 The configured URL could not be contacted when sending 'Workflow Approval Application Test Please Ignore - 44540 - Pending Approval': Microsoft.Exchange.WebServices.Data.ServiceResponseException: One or more recipients are invalid.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
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)
at SourceCode.MessageBus.Ews.Destination.EwsMessageDestination.SendMessage(ExchangeService service, String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReadere] messageBodies)
at SourceCode.MessageBus.Ews.Destination.EwsMessageDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReadere] messageBodies)
An attempt to use autodiscover will be made.","anonymous","0.0.0.0","AUSPK2:C:Program Files (x86)K2 blackpearlHost ServerBin","909354537","20a4a668efbd4ee09dbbf82755612b53",""
"909354538","2015-03-30 15:26:23","Error","General","1","GeneralErrorMessage","EwsMessageDestination","1 The cached autodiscover URL could not be contacted when sending 'Workflow Approval Application Test Please Ignore - 44540 - Pending Approval': Microsoft.Exchange.WebServices.Data.ServiceResponseException: One or more recipients are invalid.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
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)
at SourceCode.MessageBus.Ews.Destination.EwsMessageDestination.SendMessage(ExchangeService service, String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReadere] messageBodies)
at SourceCode.MessageBus.Ews.Destination.EwsMessageDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReadere] messageBodies)
And attempt to refresh the URL using autodiscover will be made.","anonymous","0.0.0.0","AUSPK2:C:Program Files (x86)K2 blackpearlHost ServerBin","909354538","78befc89646b45bdb236eef3978781fd",""
----------------------------------------

 

Resolution

The problem was due to Smartform Client events’ emailing doesn’t add a semicolon to multiple email addresses automatically (unlike Email Client events).
Resolved by using the Join function, and adding a semicolon as the separator.




 
Be the first to reply!

Reply