Sprout Email allows Craft Object Syntax for the object that is available when an event is triggered, in the same way you would use the Sections Title Format field.
If your form is submitting an Entry the dynamic object being submitted is an EntryModel and all values from that EntryModel will be available to several of your fields in Sprout Email. To access those values you can use one of two syntaxes:
- Shorthand Object Syntax
{title} or {customFieldHandle}
- Object Syntax
{{ object.title }} or {{ object.customFieldHandle }} - this longer form can also be used in more advanced twig constructs like {% if object.title %}
Both of these syntaxes are comparable to how you would use {{ entry.title }} or {{ entry.customFieldHandle }} in your templates.
This is described with a few more examples on the Dynamic Values page of the docs
{author.email}or{object.author.email}in the recipient field presumably? – shorn Mar 20 '17 at 15:18{author.email}or{{ object.author.email }}. The shorthand syntax get's processed and wrapped with the double curlies and object variable prefix:{author.email}=>{{ object.* }}where * is the value you provideauthor.email– Ben Parizek Mar 20 '17 at 17:48Argument 1 passed to Craft\SproutEmail_NotificationEmailsService::relayNotificationThroughAssignedMailer() must be an instance of Craft\SproutEmail_NotificationEmailModel, null given, called in /Users/Me/Sites/MySite/craft/plugins/sproutemail/services/SproutEmail_NotificationEmailsService.php on line 442– shorn Mar 21 '17 at 00:40