• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Multiple reciepints in admin mail

Multiple reciepints in admin mail 12 years 2 weeks ago #17212

I created a form where i have several checkboxes.
If a certain checkbox is checked in would like tot have this trigger an event:
Add a recipient to the admin mail.
I found this code in the examples:

I used this code in the email script section:
if($_POST[0] == 'Sample value here')
$adminEmail = ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ';

This works fine in case just one checkbox is checked...however:
I would like to have a maximum of 8 checkboxes with 8 corresponding (different) email adresses that then are used as recipients.

How can i change the script so that it ADDS a recipient instead of changing the recipient?

thx in advance
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!