Skip to content

Commit

Permalink
Fix null exception in EmailTask (#14471)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Oct 10, 2023
1 parent 8632c3b commit eaa8bef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
Expand Down Expand Up @@ -115,7 +114,7 @@ public override async Task<ActivityExecutionResult> ExecuteAsync(WorkflowExecuti
Bcc = bcc?.Trim(),
// Email reply-to header https://tools.ietf.org/html/rfc4021#section-2.1.4
ReplyTo = replyTo?.Trim(),
Subject = subject.Trim(),
Subject = subject?.Trim(),
Body = body?.Trim(),
IsHtmlBody = IsHtmlBody
};
Expand Down

0 comments on commit eaa8bef

Please sign in to comment.