CakeMail supports dynamic content when sending mailings (AKA bulk emails) but not when sending relays (AKA transact emails). Here's an example of "dynamic content" to illustrate what I mean: "[IF (...predicate...)] ...content when TRUE... [ELSE] ...content when FALSE... [ENDIF].
The library should be able to parse HTML content, the text content and the subject line, evaluate the condition and insert the appropriate dynamic content depending on whether the condition was TRUE or FALSE.
CakeMail supports dynamic content when sending mailings (AKA bulk emails) but not when sending relays (AKA transact emails). Here's an example of "dynamic content" to illustrate what I mean: "[IF (...predicate...)] ...content when TRUE... [ELSE] ...content when FALSE... [ENDIF].
The library should be able to parse HTML content, the text content and the subject line, evaluate the condition and insert the appropriate dynamic content depending on whether the condition was TRUE or FALSE.