We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 344f5b0 + 994963f commit b500f9fCopy full SHA for b500f9f
models/MailService.cfc
@@ -377,7 +377,7 @@ component accessors="true" singleton threadsafe {
377
var key = "";
378
379
// Do not process tokens if using dynamic template (send-grid-protocol)
380
- if ( arguments.mail.getType() == "template" ) return;
+ if ( arguments.mail.propertyExists( "type" ) && arguments.mail.getType() == "template" ) return;
381
382
// Check mail parts for content
383
if ( arrayLen( mailparts ) ) {
0 commit comments