Jericho / CakeMail.RestClient

.NET wrapper for the CakeMail API
MIT License
9 stars 3 forks source link

Dynamic content when sending relays #34

Closed Jericho closed 7 years ago

Jericho commented 7 years ago

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.