array email_send.triggerFolder( int folderId, string emailAddress, array profileData )
Chooses a random live Triggered Email from the given folder, and queues it to the specified recipient for immediate send. The system uses a weighted random choice, so that over the course of many sends, there is even distribution amongst all live Triggered Emails in the folder. Only Triggered Emails directly in the target folder are uses; child folders are not used.
Will fail if no Triggered Emails in the folder have approved status.
ID of the folder containing the triggered emails, from which one will be chosen.
The email address of the recipient. It's also possible to provide a recipientId integer for this parameter.
Associative array of profile data in the same format used for recipient.insert; a nested array of named profiles and profile fields:
'Personal' => array(
'FirstName' => 'Test',
'Surname' => 'Person',
'Address/Home' => array(
'Street' => 'Example Close',
'Town' => 'Sample City'
Returns an associative array with a key
success which is always
boolean true .