• 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: admin email depending on value field

admin email depending on value field 9 years 3 months ago #33630

  • info382
  • info382's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Hell all,

I want to depend the email address on the value of a certain field of the form. So if somebody select value 1 the admin email is info@.... and if the value is 2 the admin email is faq@....
How can i manage this?

Sebbe
The administrator has disabled public write access.

admin email depending on value field 9 years 3 months ago #33631

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

admin email depending on value field 9 years 3 months ago #33632

  • info382
  • info382's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
This is not what i meant.

i looked at www.rsjoomla.com/support/documentation/r...p-email-scripts.html. But it's not working. I won't receive any emails. What is going wrong?
if($_POST['form']['cptdf'][0] == 'faq') {
  $adminEmail['to'] = 'faq@.....';
} else {
$adminEmail['to'] = 'info@.....';
}
Last Edit: 9 years 3 months ago by info382.
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!