From fc37cdb302af42742905a328be6ad73293ec3e3d Mon Sep 17 00:00:00 2001 From: leanpanda <5054722+leanpanda@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:10:37 -0700 Subject: [PATCH] Update configure.php adding explanation for email confirmation settings --- src/sendinblue/configure.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/sendinblue/configure.php b/src/sendinblue/configure.php index 29958d0a..3ece9294 100644 --- a/src/sendinblue/configure.php +++ b/src/sendinblue/configure.php @@ -78,6 +78,14 @@
Simply call the function just like the built in UserSpice email function and you are good to go. If you would like to override the built in UserSpice email function and use Sendinblue instead, simply rename the file called override.rename.php to override.php
+
+ If you want to use Sendinblue/Brevo for email confirmation then create a function inside of usersc/includes/custom_functions with the following code:
+
+ function email($to, $subject, $body, $to_name = "", $options = []){
+ return sendinblue($to, $subject, $body, $to_name, $options);
+ }
+
+ The great thing about adding it in usersc/includes/custom_functions is that it automatically takes over all built in things like password resets and all of that
As of October, 2022, the plugin also supports templates, dynamic sender, and dynamic data inside your template. You can also do a foreach loop in your sendinblue templates. On the UserSpice side, use it like:
@@ -162,4 +170,4 @@If you appreciate this plugin and would like to make a donation to the author, you can do so at https://UserSpice.com/donate. Either way, thanks for using UserSpice!
- \ No newline at end of file +