I think I would set up the admin and user notifications to handle your two most difficult notifications (most complex I guess) so that most of the work is done for you.
For your third notification, you could the gform_notification_email filter, to just copy the admin email, make your changes, then use wp_mail() to send an additional (3rd) notification.
Or, you if your email notification is more simple (on the order of "someone submitted a form" you can use the gform_pre_submission filter which runs after validation, but before notifications are sent. You can run a simple wp_mail() command using that hook.
It all depends on how complex or different each notification is going to be, and where the email addresses are coming from (if they change, or are always the same.)
Posted 13 years ago on Wednesday October 12, 2011 |
Permalink