Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/sendinblue/configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
</p>
<p class="mb-2">
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</p>
<p class="mb-2">
If you want to use Sendinblue/Brevo for email confirmation then create a function inside of usersc/includes/custom_functions with the following code:
<code>
function email($to, $subject, $body, $to_name = "", $options = []){
return sendinblue($to, $subject, $body, $to_name, $options);
}
</code>
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
<p class="mb-2">
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:
</p>
Expand Down Expand Up @@ -162,4 +170,4 @@
<p>If you appreciate this plugin and would like to make a donation to the author, you can do so at <strong><a href="https://UserSpice.com/donate">https://UserSpice.com/donate</a></strong>. Either way, thanks for using UserSpice!</p>
</div>
</div>
</div> <!-- /.row -->
</div> <!-- /.row -->