Skip to content

Commit

Permalink
Merge pull request #37 from jeff-chastain/development
Browse files Browse the repository at this point in the history
Email Type Check Fix
  • Loading branch information
lmajano authored Nov 27, 2023
2 parents 344f5b0 + 994963f commit b500f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/MailService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ component accessors="true" singleton threadsafe {
var key = "";

// Do not process tokens if using dynamic template (send-grid-protocol)
if ( arguments.mail.getType() == "template" ) return;
if ( arguments.mail.propertyExists( "type" ) && arguments.mail.getType() == "template" ) return;

// Check mail parts for content
if ( arrayLen( mailparts ) ) {
Expand Down

0 comments on commit b500f9f

Please sign in to comment.