You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new instance of the Mail.cfc object, passing a collection of parameters to the init method that does NOT include a 'type' parameter
Attempt to send the Mail object ([object].send());
What happens?
An error is throw in the parseTokens method due to the recently added check for the mail type (line 380)
// Do not process tokens if using dynamic template (send-grid-protocol)
if ( arguments.mail.getType() == "template" ) return;
The property (Type) doesn't exist. Valid properties are leadId,mailParams,environment,mailParts,source,associationName,notes,customerId,agentId,subject,bodyTokens,to,additionalInfo,additionalJSONData,conversationMessageId,uniqueId,cc,from,fromName,body,bcc
…
What were you expecting to happen?
The code should execute without error, bypassing this check as there is no 'type' property defined on the object.
…
Any logs, error output, etc?
…
Any other comments?
…
What versions are you using?
Operating System: … Package Version: 2.8.1
The text was updated successfully, but these errors were encountered:
What are the steps to reproduce this issue?
What happens?
An error is throw in the parseTokens method due to the recently added check for the mail type (line 380)
…
What were you expecting to happen?
The code should execute without error, bypassing this check as there is no 'type' property defined on the object.
…
Any logs, error output, etc?
…
Any other comments?
…
What versions are you using?
Operating System: …
Package Version: 2.8.1
The text was updated successfully, but these errors were encountered: