Email recipients are the list of email addresses who will be sent the data of the form when it is submitted by the user. Some people may want this to go to multiple people so we have added the facility to do that. To add or change the recipients, open process.php and search for the code below.
1 | $config['recipients'] = ''; |
$config['recipients'] = '';
You will find the array of current recipients. If you just want the email to go to one email address, then just enter your email address inside the single quotes.
Single recipient
1 | $config['recipients'] = 'me@example.com'; |
$config['recipients'] = 'me@example.com';
Multiple recipients
1 2 3 4 5 | $config['recipients'] = array( 'me@example.com', 'you@example.com', 'another@example.com' ); |
$config['recipients'] = array( 'me@example.com', 'you@example.com', 'another@example.com' );