Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Send Exchange Email

Prev Next
Step Details
Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationIntegration > Exchange Web Services

The Send Exchange Email step sends an email to a recipient with a subject, body, and attachments. The Form address will be populated using the User Email Address field found under the Exchange Server input.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
AttachmentsAn array of FileData objects to attach to the email.List of FileData
BodyThe main contents of the email message. It can be plain text or HTML.String
CCAn array of the email address to put in the CC field of an email.List of String
Exchange ServerServer and authentication to use.ExchangeServerDefinition
Reply ToAn alternate email address for recipients to use when replying to this email.String
SubjectThe text subject of the email.String
ToAn array of the email address to send the email to.List of String


Common Errors

The Remote Server Returned an Error

If the remote server inputted is improperly inputted, the step will cause an error.

To correct this, input a URL that is properly spelled to effectively connect to the designated server.

Error Message:

DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Search Emails 1[SearchEmails] in flow [Step Library Flow]: Exception invoking method SearchEmails on class ExchangeEmailSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method SearchEmails on class ExchangeEmailSteps
 ---> System.Exception: Search Exchange Email error. Search String: test.
 ---> System.AggregateException: One or more errors occurred. (The parameter queryString is only valid for Exchange Server version Exchange2010 or a later version.)
 ---> Microsoft.Exchange.WebServices.Data.ServiceVersionException: The parameter queryString is only valid for Exchange Server version Exchange2010 or a later version. at Microsoft.Exchange.WebServices.Data.FindRequest`1.Validate()
 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest()
 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecuteAsync()
 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ExecuteAsync()
 at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems(FolderId parentFolderId, String queryString, ViewBase view)
   --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
 at System.Threading.Tasks.Task`1.get_Result()
 at Decisions.Exchange.ExchangeEmailSteps.SearchEmails(ExchangeServerDefinition ExchangeServer, String SearchString, Int32 PageSize, Int32 Offset)
   --- End of inner exception stack trace --- at Decisions.Exchange.ExchangeEmailSteps.SearchEmails(ExchangeServerDefinition ExchangeServer, String SearchString, Int32 PageSize, Int32 Offset)
 at InvokeStub_ExchangeEmailSteps.SearchEmails(Object, Span`1)
 at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---


Related Information