Email Calendar File
  • 21 Sep 2023
  • 1 Minute to read
  • Dark
    Light

Email Calendar File

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.1.0
LocationIntegration > ICAL

The Email Calendar File step allows users to send the iCal file type to the specified email address.



Properties

Email

PropertiesDescriptionData Type
FromThe email address of the senderString
ToDenotes the email's recipient(s)List of String
High Priority Flags the email as high priorityBoolean
SubjectProvides the email's Subject lineString
Body The Body content of the email. The Merge Plain Text mapping can be used to combine Flow Data with user-input text to make up the body.String
AttachmentsUsed to attach files to the emailList of FileData

Email - Addressing 

PropertyDescriptionData Type


Reply To
The email address that receives the response in the event of an email replyString


CC
Denotes the recipient of a Carbon Copy of the email String


BCC
Denotes a recipient of the email's Carbon Copy but hides the address of the recipient String

Email Retry 

PropertiesDescriptionData Type

Show Fail on PathProvides the "On Error" outcome pathBoolean

Retry on FailResends the email in the event of failureBoolean

 Retry CountLimits how many times the step tries to retry sending the email in the event of a failure; the default value is "3"Int32


Retry Delay in Seconds Dictates how long to wait before retrying the Send Email processInt32

Settings - Contents

PropertiesDescriptionData Type


Clean Up HTML
Converts HTML containing " &" to their standard charactersBoolean


Send Raw HTML
Formats as raw HTMLBoolean


Email Content Type
Select formatting for the email; selecting Auto auto-selects an option, HTML sends the email in HTML format, and Plain sends the email as plain text.---


Pick Email Template
Enables selection of pre-existing Email Templates via the Email Template dropdownBoolean


Email Template
Displays a dropdown of pre-existing Email Templates---

SMTP Settings

PropertiesDescriptionData Type

Use Default SMTP SettingsUses the server's default SMTP Settings; these are typically set up at installation.Boolean


SMTP Server SettingsProvides dialog to establish SMTP Settings for the step to use (i.e., Server Address, Client Domain, etc.)---

Inputs

PropertyDescriptionData Type
iCal FileThe desired iCal file String


Common Errors

Object reference not set to an instance of an object

If the iCal File is null or empty, the step will cause an error.

To correct this, ensure that an ics file is mapped or uploaded to the iCal File field.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Email Calendar File 1[SendICalFileInEmail] in flow [Flow 3]: Object reference not set to an instance of an object.
 ---> System.NullReferenceException: Object reference not set to an instance of an object. 
at Decisions.ICal.CalendarHelper.SetupCalendarAttachment(MailMessage email, FileData icsFile
 at Decisions.ICal.SendICalFileInEmail.CreateEmail(StepStartData data
 at DecisionsFramework.Design.Flow.CoreSteps.SendEmailStep.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 ---

Was this article helpful?

What's Next