Logo
Explore Help
Register Sign In
yujunjun/strapi
1
0
Fork 0
You've already forked strapi
mirror of https://github.com/strapi/strapi.git synced 2025-07-24 09:25:25 +00:00
Code Issues Packages Projects Releases Wiki Activity
strapi/packages/strapi-plugin-email/services/Email.js

13 lines
219 B
JavaScript
Raw Normal View History

Add plugin send email
2017-11-16 16:58:45 +01:00
'use strict';
move email settings from db to files Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-05-14 11:26:19 +02:00
const getProviderConfig = () => {
return strapi.plugins.email.config;
Update to add dynamic settings to email plugin Email plugin now functions more like the upload plugin. Users can go to the plugins page, click on the settings cog for the email, and switch between providers or change settings. The default provider is strapi-email-sendmail. Extra providers can be added by installing strapi-email-mailgun or strapi-email-sendgrid.
2018-05-31 14:29:00 -05:00
};
Add plugin send email
2017-11-16 16:58:45 +01:00
module.exports = {
PR feedback
2018-08-23 18:28:13 +02:00
getProviderConfig,
move email settings from db to files Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-05-14 11:26:19 +02:00
async send(options) {
return strapi.plugins.email.provider.send(options);
Make init config async Now you will be able to run async script in the plugin provider init function.
2019-10-22 16:07:51 +02:00
},
Add plugin send email
2017-11-16 16:58:45 +01:00
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 764ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API