From c4d7809df8d8b8f94e9c5e7f51ab2b7b3e4c7a55 Mon Sep 17 00:00:00 2001 From: Amigo <49749100+aamigo@users.noreply.github.com> Date: Wed, 3 Jul 2019 08:45:11 +0200 Subject: [PATCH] Updated 025 How to use email helper in your components (markdown) --- 025-How-to-use-email-helper-in-your-components.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/025-How-to-use-email-helper-in-your-components.md b/025-How-to-use-email-helper-in-your-components.md index 0c5bf85..2d0bccf 100644 --- a/025-How-to-use-email-helper-in-your-components.md +++ b/025-How-to-use-email-helper-in-your-components.md @@ -28,17 +28,15 @@ If it is set to 'On' it may be decided whether there is need to override the glo If Global Configurations is opened, and then the Server, and then Mail Settings. These are the main or the Global Settings that will be used in any component that does not add these settings in their config. [00:04:40](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m40s) -If those fields had not been created and added to the component, but the button was used in order to add the Helper class to the component, the result will be that it will fall back to these settings in the Joomla default area. These 'Main Settings' are the values that should be overrided.<<<<<<<<<<<<<<< - - +If those fields had not been created and added to the component, but the button was used in order to add the Helper class to the component, the result will be that it will fall back to these settings in the Joomla default area. These 'Main Settings' are the values that should be overrided. ### Component Builder Email Switch Options -If you want your [00:05:08](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m08s) component in some way to use other php mail or other send mail or SMTP, values that of the global, you need to set it here. That is basically what this area can do. So you use global, it falls back to the Joomla global. Otherwise you can override it on this level. And send it out in a way that is [00:05:38](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m38s) what you would like. +[00:05:08](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m08s) If in some way the component should use other PHP, Send mail or SMTP values than the Global it must be set on the Learning Management System Configuration page in the Mail Configuration area.(See video) That is the function of this area . If Global is used, it will fall back to the Joomla Global. Otherwise it can be overrided on this level and send out as you prefer. [00:05:38](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m38s) ### DKIM Settings (Encryption) -The DKIM area is the more advanced area which allows you to encrypt and secure email sent out from you. To authenticate that it was really you that send it. This is helpful to show people that receive these emails that it's not spam, and it's really comes from you. It's more advanced. I would encourage you to read up on it. These are the values usually would be required to added a private key, a public key and these type of areas here(see video). If this is set to no, it will not be used, if it set to yes, please ensure to add the values. [00:06:25](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m25s) Otherwise it still will not be used. So that's basically the values that you need still to create. Component does not do this for you. You need to do it. I could possibly foresee that in the future we might add this, if you tick the helper class it adds these values for you. But even then if you have done it manually, we'll make sure that it doesn't add in twice. [00:06:51](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m51s) As long as these values have the same names, we will identify that, and do not add them dynamically to avoid clashes. For the meantime it's not automatically being added and so you need to do that manually if you want it to be there. If you don't, like I've said before it will fall back to the Joomla global. [00:07:15](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m15s) +The DKIM area is the more advanced area which allows encryption and to authenticate emails that has been send. This is helpful to show people that receive these emails that it not spam. Because of the advanced nature of this some research on this will be helpful. These are the values that usually would be required: Private key, Public key etc.(see video). If this 'Enable DKIM' is set to 'No', it will not be used. Please ensure to add the values when it is set to 'Yes', otherwise it still will not be used. [00:06:25](https://www.youtube.com/watch?v=tp6mMUTOF2Y&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m25s) So that values need to be created as Component Builder will not do it.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ### Default Global In Code