• 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: Condition in sending a email

Condition in sending a email 4 years 1 month ago #41095

I would like to set conditions before sending a email to some tierce person ? How could I fix it ?

Secondly : Is there a specific way to set a mail content relating to conditions ?
Such if .... then text = " " ... What il the appropriate orthographe to set condition in your email either in thank-message text ?

Many thanks for these informations

Vincent
CEO of Sereniteam SAS - Paris 15me - France
The administrator has disabled public write access.

Condition in sending a email 4 years 1 month ago #41105

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

If you want to send the email notification to a different user based on the user selection in a field there are multiple ways of doing that:

1. Using a dropdown field, set the email that should receive the notification when a submission is made as the value, then set the label as the name that corresponds to that email. When setting up the user or admin email use the dropdown field placeholder in the To field.
2. Using a custom PHP script in PHP Email Scripts, that will change the value of the To attribute for the user or admin email based on the selection.

Regarding the actual content, the easiest way is to use the if clauses:
www.rsjoomla.com/support/documentation/r...omponent-emails.html
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.
  • 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!