From 4feb4a3404191a258ad41f0c0617a4162da493a1 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 3 May 2022 12:42:21 +0200 Subject: [PATCH] installed mailejet module --- composer.json | 2 + composer.lock | 197 ++++++++++++++++++++++++- config/sync/core.extension.yml | 2 + config/sync/mailjet.settings.yml | 11 ++ config/sync/mailsystem.settings.yml | 4 + config/sync/reroute_email.settings.yml | 9 ++ config/sync/system.mail.yml | 2 +- 7 files changed, 225 insertions(+), 2 deletions(-) create mode 100644 config/sync/mailjet.settings.yml create mode 100644 config/sync/reroute_email.settings.yml diff --git a/composer.json b/composer.json index c974144..ce4af22 100644 --- a/composer.json +++ b/composer.json @@ -120,6 +120,7 @@ "drupal/login_history": "^1.x-dev", "drupal/login_tracker": "^1.4", "drupal/mailgun": "^1.x-dev", + "drupal/mailjet": "3.0.x-dev@dev", "drupal/mailsystem": "^4.1", "drupal/masquerade": "^2.x-dev@dev", "drupal/migrate_devel": "^2.x-dev@dev", @@ -137,6 +138,7 @@ "drupal/recurring_period": "^1.0", "drupal/redirect": "^1.x-dev@dev", "drupal/redis": "^1.5", + "drupal/reroute_email": "^2.1", "drupal/restui": "^1.16", "drupal/role_delegation": "^1.1", "drupal/role_expire": "^2.0", diff --git a/composer.lock b/composer.lock index 49ec3eb..8f18aeb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1f5192d761d1b868570ebae225e27cff", + "content-hash": "2a433a8719421af46eafa80282f838fd", "packages": [ { "name": "alchemy/zippy", @@ -10270,6 +10270,78 @@ "issues": "https://www.drupal.org/project/issues/mailgun" } }, + { + "name": "drupal/mailjet", + "version": "dev-3.0.x", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/Mailjet.git", + "reference": "f3871a8de665691a73b5d9435876eaedb4e51443" + }, + "require": { + "drupal/core": "^8.8 || ^9", + "mailjet/mailjet-apiv3-php": "^1.5", + "phpmailer/phpmailer": "^6.0.7" + }, + "require-dev": { + "drupal/commerce_order": "*", + "drupal/state_machine": "*" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-3.0.x": "3.0.x-dev" + }, + "drupal": { + "version": "3.0.0-alpha2+3-dev", + "datestamp": "1650432855", + "security-coverage": { + "status": "not-covered", + "message": "Dev releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "EgicquelMj", + "homepage": "https://www.drupal.org/user/3626335" + }, + { + "name": "JasenSan", + "homepage": "https://www.drupal.org/user/3611654" + }, + { + "name": "Mailjet Plugins", + "homepage": "https://www.drupal.org/user/1599668" + }, + { + "name": "Proxiad", + "homepage": "https://www.drupal.org/user/3218537" + }, + { + "name": "abramm", + "homepage": "https://www.drupal.org/user/3216035" + }, + { + "name": "bohart", + "homepage": "https://www.drupal.org/user/289861" + }, + { + "name": "gnikolov_mailjet", + "homepage": "https://www.drupal.org/user/3532052" + } + ], + "description": "Send your emails by your Mailjet API.", + "homepage": "https://www.drupal.org/project/mailjet", + "support": { + "source": "https://git.drupalcode.org/project/mailjet.git", + "issues": "https://www.drupal.org/project/issues/mailjet" + } + }, { "name": "drupal/maillog", "version": "dev-1.x", @@ -12085,6 +12157,74 @@ "source": "https://git.drupalcode.org/project/redis" } }, + { + "name": "drupal/reroute_email", + "version": "2.1.1", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/reroute_email.git", + "reference": "2.1.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/reroute_email-2.1.1.zip", + "reference": "2.1.1", + "shasum": "a3ed4920867d04aa446a75f349ade90e31fd1926" + }, + "require": { + "drupal/core": "^8.8 || ^9" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.1.1", + "datestamp": "1648587118", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "B-Prod", + "homepage": "https://www.drupal.org/user/407852" + }, + { + "name": "DYdave", + "homepage": "https://www.drupal.org/user/467284" + }, + { + "name": "Devaraj johnson", + "homepage": "https://www.drupal.org/user/2698767" + }, + { + "name": "bohart", + "homepage": "https://www.drupal.org/user/289861" + }, + { + "name": "kbahey", + "homepage": "https://www.drupal.org/user/4063" + }, + { + "name": "rfay", + "homepage": "https://www.drupal.org/user/30906" + }, + { + "name": "wafaa", + "homepage": "https://www.drupal.org/user/50133" + } + ], + "description": "Reroutes emails send from the site to a predefined email. Useful for test sites.", + "homepage": "https://www.drupal.org/project/reroute_email", + "support": { + "source": "https://git.drupalcode.org/project/reroute_email" + } + }, { "name": "drupal/restui", "version": "1.20.0", @@ -16685,6 +16825,60 @@ }, "time": "2021-08-16T09:57:44+00:00" }, + { + "name": "mailjet/mailjet-apiv3-php", + "version": "v1.5.1", + "source": { + "type": "git", + "url": "https://github.com/mailjet/mailjet-apiv3-php.git", + "reference": "7b94fa629d46fa5ba3826ed4596674942944520d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mailjet/mailjet-apiv3-php/zipball/7b94fa629d46fa5ba3826ed4596674942944520d", + "reference": "7b94fa629d46fa5ba3826ed4596674942944520d", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "~7.0|~6.0|~5.3", + "php": ">=5.4.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^1.0", + "phpunit/phpunit": "^4.8.36|^5.7" + }, + "type": "library", + "autoload": { + "psr-0": { + "Mailjet": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mailjet", + "email": "dev@mailjet.com", + "homepage": "https://dev.mailjet.com" + } + ], + "description": "PHP wrapper for the Mailjet API", + "homepage": "https://github.com/mailjet/mailjet-apiv3-php/", + "keywords": [ + "Mailjet", + "api", + "email", + "php", + "v3" + ], + "support": { + "issues": "https://github.com/mailjet/mailjet-apiv3-php/issues", + "source": "https://github.com/mailjet/mailjet-apiv3-php/tree/v1.5.1" + }, + "time": "2020-12-21T16:30:15+00:00" + }, { "name": "masterminds/html5", "version": "2.7.5", @@ -25193,6 +25387,7 @@ "drupal/login_destination": 20, "drupal/login_history": 20, "drupal/mailgun": 20, + "drupal/mailjet": 20, "drupal/masquerade": 20, "drupal/migrate_devel": 20, "drupal/migrate_plus": 20, diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index d306444..dfd8d70 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -128,6 +128,7 @@ module: login_history: 0 login_tracker: 0 mailgun: 0 + mailjet: 0 maillog: 0 mailsystem: 0 masquerade: 0 @@ -168,6 +169,7 @@ module: recurring_period: 0 redirect: 0 redis: 0 + reroute_email: 0 responsive_image: 0 rest: 0 restui: 0 diff --git a/config/sync/mailjet.settings.yml b/config/sync/mailjet.settings.yml new file mode 100644 index 0000000..134c4bd --- /dev/null +++ b/config/sync/mailjet.settings.yml @@ -0,0 +1,11 @@ +_core: + default_config_hash: xv32isu3I93u2lqD8FkaO6ekhZ62Ti5LvVvypKvf7_0 +mailjet_username: cec52b4eb2d759f5372dfd194585c388 +mailjet_password: 07aaab76d591f8161158d0df79d280eb +mailjet_mail: false +mailjet_active: true +mail_headers_allow_html_mailjet: true +mailjet_title: 'Mailjet API module' +APItoken: AC52DE717F13C80914566A876A18DDB1937AB214D2E638C3BD595A185F464A9BE18944A60703AB3D62945DA6E3BC11C0A265CBEB48CB4FE92BD31807006E08AE +mailjet_protocol: ssl +mailjet_por: 465 diff --git a/config/sync/mailsystem.settings.yml b/config/sync/mailsystem.settings.yml index dcffa87..7f5e3b1 100644 --- a/config/sync/mailsystem.settings.yml +++ b/config/sync/mailsystem.settings.yml @@ -13,3 +13,7 @@ modules: none: sender: mailgun_mail formatter: swiftmailer + mailjet: + none: + sender: mailjet_mail + formatter: swiftmailer diff --git a/config/sync/reroute_email.settings.yml b/config/sync/reroute_email.settings.yml new file mode 100644 index 0000000..60999ca --- /dev/null +++ b/config/sync/reroute_email.settings.yml @@ -0,0 +1,9 @@ +_core: + default_config_hash: gbxsfZiC2MMjzyiqbCPrKXXxlhQDa0pMNs0FSt_33ds +enable: false +allowed: '' +roles: { } +description: true +message: true +mailkeys: '' +mailkeys_skip: '' diff --git a/config/sync/system.mail.yml b/config/sync/system.mail.yml index 5608ba0..711b81c 100644 --- a/config/sync/system.mail.yml +++ b/config/sync/system.mail.yml @@ -2,5 +2,5 @@ _core: default_config_hash: lCmomLfOMrVmswIaFN0SimRdg6H1_a0nU60SauWb2WA langcode: fr interface: - default: maillog + default: mailjet_mail mailgun: mailgun