replaced mail_system by symfony mailer

This commit is contained in:
Bachir Soussi Chiadmi 2022-05-05 22:09:30 +02:00
parent b0d335fde2
commit 0fe25f0bb8
47 changed files with 719 additions and 97 deletions

View File

@ -77,6 +77,7 @@
"drupal/commerce": "2.x-dev@dev", "drupal/commerce": "2.x-dev@dev",
"drupal/commerce_cart_api": "^1.4", "drupal/commerce_cart_api": "^1.4",
"drupal/commerce_cart_redirection": "^3.0", "drupal/commerce_cart_redirection": "^3.0",
"drupal/commerce_email": "1.x-dev@dev",
"drupal/commerce_license": "^2.x-dev@dev", "drupal/commerce_license": "^2.x-dev@dev",
"drupal/commerce_migrate": "^3.1", "drupal/commerce_migrate": "^3.1",
"drupal/commerce_monetico": "^1.0", "drupal/commerce_monetico": "^1.0",
@ -156,6 +157,7 @@
"drupal/strings_i18n_json_export": "^1.x-dev@dev", "drupal/strings_i18n_json_export": "^1.x-dev@dev",
"drupal/structure_sync": "^2.0", "drupal/structure_sync": "^2.0",
"drupal/swiftmailer": "^2.x-dev@dev", "drupal/swiftmailer": "^2.x-dev@dev",
"drupal/symfony_mailer": "^1.0@alpha",
"drupal/synonyms": "^2.0.0-beta2", "drupal/synonyms": "^2.0.0-beta2",
"drupal/telephone_formatter": "^1.0@beta", "drupal/telephone_formatter": "^1.0@beta",
"drupal/telephone_validation": "^2.1", "drupal/telephone_validation": "^2.1",
@ -177,6 +179,7 @@
"drush/drush": "^10.6", "drush/drush": "^10.6",
"kint-php/kint": "^3.3", "kint-php/kint": "^3.3",
"smalot/pdfparser": "*", "smalot/pdfparser": "*",
"symfony/mailjet-mailer": "^5.4",
"vlucas/phpdotenv": "^2.4", "vlucas/phpdotenv": "^2.4",
"w8tcha/ckeditor_codemirror": "v1.17.8", "w8tcha/ckeditor_codemirror": "v1.17.8",
"wa72/htmlpagedom": "1.3.*", "wa72/htmlpagedom": "1.3.*",

252
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "51a1d0fa9d6908ab21626878c50da3c1", "content-hash": "78f26bb64269c36ef8750454f9b8fbea",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -4302,6 +4302,65 @@
"source": "https://git.drupalcode.org/project/commerce" "source": "https://git.drupalcode.org/project/commerce"
} }
}, },
{
"name": "drupal/commerce_email",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/commerce_email.git",
"reference": "cf7aff75be4a7cf8d6f548e365efd1090b9c2af3"
},
"require": {
"drupal/commerce": "^2.0",
"drupal/core": "^8.9 || ^9",
"drupal/token": "*"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.0-beta1+8-dev",
"datestamp": "1647058281",
"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": "jsacksick",
"homepage": "https://www.drupal.org/user/972218"
},
{
"name": "mglaman",
"homepage": "https://www.drupal.org/user/2416470"
},
{
"name": "paul.linney",
"homepage": "https://www.drupal.org/user/928636"
},
{
"name": "rinasek",
"homepage": "https://www.drupal.org/user/1245514"
},
{
"name": "rszrama",
"homepage": "https://www.drupal.org/user/49344"
}
],
"description": "Provides a UI for defining emails to send in response to various Drupal Commerce events.",
"homepage": "https://www.drupal.org/project/commerce_email",
"support": {
"source": "https://git.drupalcode.org/project/commerce_email"
}
},
{ {
"name": "drupal/commerce_license", "name": "drupal/commerce_license",
"version": "dev-2.x", "version": "dev-2.x",
@ -13617,6 +13676,53 @@
"source": "https://git.drupalcode.org/project/swiftmailer" "source": "https://git.drupalcode.org/project/swiftmailer"
} }
}, },
{
"name": "drupal/symfony_mailer",
"version": "1.0.0-alpha9",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/symfony_mailer.git",
"reference": "1.0.0-alpha9"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/symfony_mailer-1.0.0-alpha9.zip",
"reference": "1.0.0-alpha9",
"shasum": "594840eb82b84f096971a0ea08e9817ecfd56184"
},
"require": {
"drupal/core": "^9.1",
"html2text/html2text": "^4.0.1",
"symfony/mailer": "^5.3.0",
"tijsverkoyen/css-to-inline-styles": "^2.2"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "1.0.0-alpha9",
"datestamp": "1651306825",
"security-coverage": {
"status": "not-covered",
"message": "Project has not opted into security advisory coverage!"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "AdamPS",
"homepage": "https://www.drupal.org/user/2650563"
}
],
"description": "Symfony Mailer",
"homepage": "https://www.drupal.org/project/symfony_mailer",
"support": {
"source": "https://git.drupalcode.org/project/symfony_mailer"
}
},
{ {
"name": "drupal/synonyms", "name": "drupal/synonyms",
"version": "2.1.0", "version": "2.1.0",
@ -20644,6 +20750,148 @@
], ],
"time": "2021-11-24T08:40:10+00:00" "time": "2021-11-24T08:40:10+00:00"
}, },
{
"name": "symfony/mailer",
"version": "v5.4.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailer.git",
"reference": "c6e7aa958cb2884d68562264f421ffea59cdad41"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mailer/zipball/c6e7aa958cb2884d68562264f421ffea59cdad41",
"reference": "c6e7aa958cb2884d68562264f421ffea59cdad41",
"shasum": ""
},
"require": {
"egulias/email-validator": "^2.1.10|^3",
"php": ">=7.2.5",
"psr/event-dispatcher": "^1",
"psr/log": "^1|^2|^3",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/event-dispatcher": "^4.4|^5.0|^6.0",
"symfony/mime": "^5.2.6|^6.0",
"symfony/polyfill-php80": "^1.16",
"symfony/service-contracts": "^1.1|^2|^3"
},
"conflict": {
"symfony/http-kernel": "<4.4"
},
"require-dev": {
"symfony/http-client-contracts": "^1.1|^2|^3",
"symfony/messenger": "^4.4|^5.0|^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Mailer\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Helps sending emails",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/mailer/tree/v5.4.8"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-04-27T17:10:22+00:00"
},
{
"name": "symfony/mailjet-mailer",
"version": "v5.4.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailjet-mailer.git",
"reference": "c186b0240d691236fe848c748566e987925d2e1c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mailjet-mailer/zipball/c186b0240d691236fe848c748566e987925d2e1c",
"reference": "c186b0240d691236fe848c748566e987925d2e1c",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"psr/event-dispatcher": "^1",
"symfony/mailer": "^4.4|^5.0|^6.0"
},
"require-dev": {
"symfony/http-client": "^4.4|^5.0|^6.0"
},
"type": "symfony-mailer-bridge",
"autoload": {
"psr-4": {
"Symfony\\Component\\Mailer\\Bridge\\Mailjet\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Mailjet Mailer Bridge",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/mailjet-mailer/tree/v5.4.8"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-04-12T16:02:29+00:00"
},
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v5.4.0", "version": "v5.4.0",
@ -25435,6 +25683,7 @@
"drupal/auto_entitylabel": 20, "drupal/auto_entitylabel": 20,
"drupal/better_messages": 15, "drupal/better_messages": 15,
"drupal/commerce": 20, "drupal/commerce": 20,
"drupal/commerce_email": 20,
"drupal/commerce_license": 20, "drupal/commerce_license": 20,
"drupal/commerce_pricelist": 20, "drupal/commerce_pricelist": 20,
"drupal/commerce_recurring": 20, "drupal/commerce_recurring": 20,
@ -25467,6 +25716,7 @@
"drupal/simplenews": 20, "drupal/simplenews": 20,
"drupal/strings_i18n_json_export": 20, "drupal/strings_i18n_json_export": 20,
"drupal/swiftmailer": 20, "drupal/swiftmailer": 20,
"drupal/symfony_mailer": 15,
"drupal/telephone_formatter": 10, "drupal/telephone_formatter": 10,
"drupal/translate_side_by_side": 20, "drupal/translate_side_by_side": 20,
"drupal/translation_views": 20, "drupal/translation_views": 20,

View File

@ -0,0 +1,28 @@
uuid: 1773680e-8fb9-4a51-9e82-f412d4502bc9
langcode: en
status: true
dependencies:
module:
- update
_core:
default_config_hash: JOcNPf-ezI7vLCxZg4K9wpGqKYj6vMHlfsmhx_WGbTM
id: update.status_notify
configuration:
email_body:
content:
value: |-
<p>You need to take action to secure your server {{ site_name }}.</p>
<ul>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
<p>See the <a href="{{ update_status }}">available updates</a> page for more information.
{% if update_manager %}
You can automatically install your updates using the <a href="{{ update_manager }}">Update manager</a>.
{% endif %}
You can <a href="{{ update_settings }}">change your settings</a> for what update notifications you receive.</p>
format: email_html
email_subject:
value: 'New release(s) available for {{ site_name }}'

View File

@ -34,6 +34,7 @@ module:
commerce_cart: 0 commerce_cart: 0
commerce_cart_api: 0 commerce_cart_api: 0
commerce_checkout: 0 commerce_checkout: 0
commerce_email: 0
commerce_license: 0 commerce_license: 0
commerce_log: 0 commerce_log: 0
commerce_number_pattern: 0 commerce_number_pattern: 0
@ -127,12 +128,10 @@ module:
locale: 0 locale: 0
login_history: 0 login_history: 0
login_tracker: 0 login_tracker: 0
mailgun: 0
mailjet: 0 mailjet: 0
mailjet_commerce: 0 mailjet_commerce: 0
mailjet_event: 0 mailjet_event: 0
maillog: 0 maillog: 0
mailsystem: 0
masquerade: 0 masquerade: 0
materio_commerce: 0 materio_commerce: 0
materio_decoupled: 0 materio_decoupled: 0
@ -149,7 +148,6 @@ module:
menu_block: 0 menu_block: 0
menu_ui: 0 menu_ui: 0
message: 0 message: 0
mimemail: 0
modules_weight: 0 modules_weight: 0
node: 0 node: 0
options: 0 options: 0
@ -171,7 +169,6 @@ module:
recurring_period: 0 recurring_period: 0
redirect: 0 redirect: 0
redis: 0 redis: 0
reroute_email: 0
responsive_image: 0 responsive_image: 0
rest: 0 rest: 0
restui: 0 restui: 0
@ -194,7 +191,8 @@ module:
string_translation_ui: 0 string_translation_ui: 0
strings_i18n_json_export: 0 strings_i18n_json_export: 0
structure_sync: 0 structure_sync: 0
swiftmailer: 0 symfony_mailer: 0
symfony_mailer_bc: 0
synonyms: 0 synonyms: 0
synonyms_autocomplete: 0 synonyms_autocomplete: 0
synonyms_list_field: 0 synonyms_list_field: 0

View File

@ -0,0 +1,10 @@
uuid: 0f5ddc3c-16c2-457e-a7fc-916307e78b5e
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: u5MXordtBE3SIs1x4qEUEBUFctQ0jjSn2vbPtgxvXuM
name: 'Email HTML'
format: email_html
weight: 0
filters: { }

View File

@ -0,0 +1,2 @@
subscription:
confirm_combined_subject: 'Confirmation de [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Confirmation de [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Demande d''annulation du compte [user:display-name] sur [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Modification des informations de connexion pour [user:display-name] sur [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Un administrateur a créé un compte pour vous sur [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Détails du compte [user:display-name] sur [site:name]'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Détails du compte [user:display-name] sur [site:name] (en attente de validation d''un administrateur)'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Détails du compte [user:display-name] sur [site:name] (en attente de validation d''un administrateur)'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Détails du compte [user:display-name] sur [site:name] (bloqué)'

View File

@ -0,0 +1,3 @@
configuration:
email_subject:
value: 'Détails du compte [user:display-name] sur [site:name] (annulé)'

View File

@ -20,6 +20,8 @@ display:
node_bulk_form: node_bulk_form:
label: 'Formulaire des opérations en masse sur les nœuds' label: 'Formulaire des opérations en masse sur les nœuds'
action_title: 'Pour la sélection' action_title: 'Pour la sélection'
title:
label: Ticket
simplenews_issue: simplenews_issue:
separator: ', ' separator: ', '
status: status:

View File

@ -8,6 +8,8 @@ settings:
dialog_options: dialog_options:
narrow: narrow:
title: Étroit title: Étroit
normal:
title: Normal
wide: wide:
title: Large title: Large
element: element:

View File

@ -1,16 +0,0 @@
_core:
default_config_hash: bMOl3jD7ZuzZMuaUYzyqadr56G486ldo28NYIkK_54g
api_endpoint: 'https://api.mailgun.net'
api_key_storage: config
api_key_key: ''
api_key: ''
working_domain: materio.com
debug_mode: false
test_mode: false
tracking_opens: 'yes'
tracking_clicks: 'yes'
tracking_exception: 'user:password_reset'
format_filter: plain_text
use_queue: true
use_theme: false
tagging_mailkey: true

View File

@ -1,27 +0,0 @@
_core:
default_config_hash: IhwTepsVwtbtbcT5GzQKhCXDCRvbk3MNkWqPiuiZ10s
theme: materiotheme
defaults:
sender: mailjet_mail
formatter: swiftmailer
modules:
swiftmailer:
none:
sender: mailjet_mail
formatter: swiftmailer
simplenews:
none:
sender: mailjet_mail
formatter: swiftmailer
mailjet:
none:
sender: mailjet_mail
formatter: swiftmailer
commerce:
none:
sender: mailjet_mail
formatter: swiftmailer
commerce_license:
none:
sender: mailjet_mail
formatter: swiftmailer

View File

@ -1,14 +0,0 @@
_core:
default_config_hash: 7mRdLbI-Rda0ePrw4IkNSJd8m_lTx7nLZnVfbNbyfwA
name: ''
mail: ''
simple_address: false
sitestyle: true
textonly: false
linkonly: false
format: full_html
preserve_class: false
advanced:
incoming: false
key: ''
engine: mimemail

View File

@ -1,9 +0,0 @@
_core:
default_config_hash: gbxsfZiC2MMjzyiqbCPrKXXxlhQDa0pMNs0FSt_33ds
enable: false
allowed: ''
roles: { }
description: true
message: true
mailkeys: ''
mailkeys_skip: ''

View File

@ -1,6 +0,0 @@
_core:
default_config_hash: VMWxVURttskghCbo5AuwZeaD2NJquuMGrOMJqG1YZhE
content_type: text/html
text_format: plain_text
generate_plain: true
character_set: UTF-8

View File

@ -1,17 +0,0 @@
_core:
default_config_hash: RSNbRD3ekSaZoE19f3eHhm93gKOcD2PtmaAVmV3XMes
transport: sendmail
smtp_host: 127.0.0.1
smtp_port: 25
smtp_encryption: ''
sendmail_path: /usr/sbin/sendmail
sendmail_mode: bs
smtp_credential_provider: swiftmailer
smtp_credentials:
swiftmailer:
username: ''
password: ''
key:
username: ''
password: ''
spool_directory: ''

View File

@ -0,0 +1,14 @@
uuid: 55bf7519-ea79-42da-a353-b6ba7a3e3c0c
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: YdbP1K1t12OGgnPz3AsvZ6xoXuFbWSuy3npzg1pVSJI
id: _
configuration:
mailer_default_headers: { }
mailer_html_to_text: { }
mailer_inline_css: { }
email_theme:
theme: _active_fallback
mailer_url_to_absolute: { }

View File

@ -0,0 +1,17 @@
uuid: 134147cd-f707-4a44-b578-fe47c9fddc7e
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: dRrc9PkLOme-LkddT28g1s2j6A6r8qJLW6I1FA4HD9M
id: contact.copy
configuration:
email_body:
content:
value: |-
<p class="contact-email-intro">Here is a copy of the message you sent to {{ recipient_name }} at {{ site_name }}.</p>
<hr>
{{ body }}
format: email_html

View File

@ -0,0 +1,19 @@
uuid: 4aa2ac66-aaba-414c-a0a3-bf12aa119aef
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: qM-nS_f8vJxvO0QPUg8SYmt3iTXAPcvj94xpXXBznQ4
id: contact.mail
configuration:
email_body:
content:
value: |-
<p class="contact-email-intro">Hello {{ recipient_name }},<br>
<a href="{{ sender_url }}">{{ sender_name }}</a> has sent you a message via your form at {{ site_name }}.
If you don't want to receive such emails, you can <a href="{{ recipient_edit_url }}">change your settings</a>.</p>
<hr>
{{ body }}
format: email_html

View File

@ -0,0 +1,12 @@
uuid: 5d8666b2-21ff-456a-9c5c-792c28e69173
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: hNnHk1jtvS_lezOW8CXkrFUEg3SlVaH8SEIilXxmC0Y
id: contact
configuration:
email_subject:
value: '[{{ site_name }}] {{ subject }}'

View File

@ -0,0 +1,17 @@
uuid: a6c8aaf1-3f3b-481a-8276-ca3e9d204599
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: XNel772jUgO_1nTeBKv6KY1dOnm9ZTxw873dLdQn21I
id: contact_form.copy
configuration:
email_body:
content:
value: |-
<p class="contact-email-intro">Here is a copy of the message you sent using the contact form <a href="{{ form_url }}">{{ form }}</a>.</p>
<hr>
{{ body }}
format: email_html

View File

@ -0,0 +1,17 @@
uuid: f0143eb1-9260-4046-8001-868f7ff18f99
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: 1TIKtMkjY26cVN1RPOzGE60sVx3nFvKHw-LR3I-STNw
id: contact_form.mail
configuration:
email_body:
content:
value: |-
<p class="contact-email-intro"><a href="{{ sender_url }}">{{ sender_name }}</a> sent a message using the contact form <a href="{{ form_url }}">{{ form }}</a>.</p>
<hr>
{{ body }}
format: email_html

View File

@ -0,0 +1,12 @@
uuid: 6016c007-4e4c-4fe5-9454-a4159f6fe678
langcode: en
status: true
dependencies:
module:
- contact
_core:
default_config_hash: Hmb6-2KQp-459chRvJx4haH9MprIHzG-rZheK5skgac
id: contact_form
configuration:
email_subject:
value: '[{{ form }}] {{ subject }}'

View File

@ -0,0 +1,18 @@
uuid: c742d449-e6d4-4d13-ab62-6b7e813fe60e
langcode: en
status: true
dependencies:
module:
- simplenews
_core:
default_config_hash: eS_mn5V1pRFDUx66hVOesANK1KjPtyMQBr8v0JEBp-A
id: simplenews.subscribe
configuration:
email_subject:
value: 'Confirmation for [site:name]'
email_body:
content:
value: |-
<p>We have received a request to subscribe [simplenews-subscriber:mail] at <a href="[site:url]">[site:name]</a>.
Please use this link to <a href="[simplenews-subscriber:combined-url]">confirm your subscribtion</a>.</p>
format: email_html

View File

@ -0,0 +1,18 @@
uuid: 89614f60-ecc8-4286-80b3-47b771f8423e
langcode: en
status: true
dependencies:
module:
- simplenews
_core:
default_config_hash: 5Oh2xuv7tqN5i5bnfKD00U_BBPkar6m2je0uO0SQNc4
id: simplenews.validate
configuration:
email_subject:
value: 'Manage your subscriptions at [site:name]'
email_body:
content:
value: |-
<p>We have received a request to manage your subscriptions for [simplenews-subscriber:mail] at <a href="[site:url]">[site:name]</a>.
Please use this link to <a href="[simplenews-subscriber:manage-url]">proceed</a>.</p>
format: email_html

View File

@ -0,0 +1,21 @@
uuid: 958db776-6cf2-4d23-8cfc-a36db3ac9dc4
langcode: en
status: true
dependencies:
module:
- simplenews
_core:
default_config_hash: mN2tbwIo__h9pehTd-fc40iGUSvVCW_lgFaKHadVgxk
id: simplenews_newsletter
configuration:
email_from:
addresses:
-
value: news@materio.com
display: ''
email_body:
content:
value: "<div class=\"clearfix\">\r\n {{ body }}\r\n</div>\r\n\r\n{% if not opt_out_hidden %}\r\n <p class=\"simplenews-unsubscribe\"><a href=\"[simplenews-subscriber:unsubscribe-url]\">Unsubscribe from this newsletter</a></p>\r\n{% endif %}\r\n\r\n{% if test %}\r\n <p class=\"simplenews-test-message\">This is a test version of the newsletter.</p>\r\n{% endif %}"
format: email_html
email_subject:
value: '[node:title]'

View File

@ -0,0 +1,20 @@
uuid: e2c5e42f-dbb7-4526-9f30-fe14e9c6237e
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: 4wEqs5CkKtLUdPsuIchodbNwXFyP0Jxpv9a3v0YoxmE
id: user.cancel_confirm
configuration:
email_subject:
value: 'Account cancellation request for [user:display-name] at [site:name]'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>A request has been made to cancel your account at <a href="[site:url]">[site:name]</a>.
You may now use this link to <a href="[user:cancel-url]">cancel your account</a>.</p>
<p><b>Note</b>: The cancellation of your account is not reversible. This link expires in one day and nothing will happen if it is not used.</p>
format: email_html

View File

@ -0,0 +1,20 @@
uuid: c5135122-4990-4542-af33-4e0c425f5a67
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: dQw-zK_rH2Z6J-fK28ea5w0gq4Q05DCafWCz5Je36-M
id: user.password_reset
configuration:
email_subject:
value: 'Replacement login information for [user:display-name] at [site:name]'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>A request has been made to reset the password for your account at <a href="[site:url]">[site:name]</a>.
You may now use this link to <a href="[user:one-time-login-url]">log in</a>.
This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.</p>
format: email_html

View File

@ -0,0 +1,25 @@
uuid: 2237634e-254d-4e78-8c58-a858136744b6
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: eC3j_yyQMsgaoE3EK4lyJ6qRwCOay2nQtK9n7mVnvYQ
id: user.register_admin_created
configuration:
email_subject:
value: 'An administrator created an account for you at [site:name]'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>A site administrator at <a href="[site:url]">[site:name]</a> has created an account for you.
You may now use this link to <a href="[user:one-time-login-url]">log in</a>. It can be used only once and will lead you to a page where you can set your password.</p>
<p>After setting your password, you will be able to <a href="[site:login-url]">log in</a> in the future using:</p>
<ul>
<li>username: [user:account-name]</li>
<li>password: Your password</li>
</ul>
format: email_html

View File

@ -0,0 +1,25 @@
uuid: e5b8ce63-a50a-4414-a8d9-1ea22bb17ba2
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: 773qpyG5A4UQzh_Mt5CaIUGJWpLZlXcDQMUVwjc86ek
id: user.register_no_approval_required
configuration:
email_subject:
value: 'Account details for [user:display-name] at [site:name]'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>Thank you for registering at <a href="[site:url]">[site:name]</a>.
You may now use this link to <a href="[user:one-time-login-url]">log in</a>. It can be used only once and will lead you to a page where you can set your password.</p>
<p>After setting your password, you will be able to <a href="[site:login-url]">log in</a> in the future using:</p>
<ul>
<li>username: [user:account-name]</li>
<li>password: Your password</li>
</ul>
format: email_html

View File

@ -0,0 +1,20 @@
uuid: f80609b6-d01c-4983-8bc4-2eda4d53f3ac
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: gdjGWtW1jFD4Z2y7UovfbpF3m3ln7By0xqRc0_6U9Qc
id: user.register_pending_approval
configuration:
email_subject:
value: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>Thank you for registering at <a href="[site:url]">[site:name]</a>.
Your application for an account is currently pending approval.
Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.</p>
format: email_html

View File

@ -0,0 +1,23 @@
uuid: 574d291e-464d-48c5-9cd8-b704c89c6885
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: 6_PE3lxRmcr3l6u87ZQj7g42tE_3X1kul08lJ8eAmxA
id: user.register_pending_approval_admin
configuration:
email_subject:
value: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
email_body:
content:
value: |-
<p>[user:display-name] has applied for an account at <a href="[site:url]">[site:name]</a>.
You may now use this link to <a href="[user:edit-url]">approve the request</a>.</p>
format: email_html
email_to:
addresses:
-
value: '<site>'
display: ''

View File

@ -0,0 +1,25 @@
uuid: e818097d-dad1-4013-ab01-3e5c22f91893
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: LG57ffuuPiE4cmAz-PrFy0AZwPbgzyGw2Y0OnwVrOfc
id: user.status_activated
configuration:
email_subject:
value: 'Your account details for [user:display-name] at [site:name] ([site:url])'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>Your account at <a href="[site:url]">[site:name]</a> has been activated.
You may now use this link to <a href="[user:one-time-login-url]">log in</a>. It can be used only once and will lead you to a page where you can set your password.</p>
<p>After setting your password, you will be able to <a href="[site:login-url]">log in</a> in the future using:</p>
<ul>
<li>username: [user:account-name]</li>
<li>password: Your password</li>
</ul>
format: email_html

View File

@ -0,0 +1,20 @@
uuid: 98513a44-3193-4d85-8b76-bfc8c7f04fb9
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: PeWhXf4ILMeyyCEQC9r17UfJteCfKaK8xY7EqoAt2MU
id: user.status_blocked
configuration:
email_subject:
value: 'Account details for [user:display-name] at [site:name] (blocked)'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>Your account on <a href="[site:url]">[site:name]</a> has been blocked.</p>
format: email_html
email_skip_sending:
message: 'Notification disabled in settings'

View File

@ -0,0 +1,20 @@
uuid: 005d8097-eda3-4e6b-902f-0577cdc6a8b3
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: UHTbwGbdSCyX2ahr4mXkeXx7pv_RPytuoDSLaPtk1is
id: user.status_canceled
configuration:
email_subject:
value: 'Account details for [user:display-name] at [site:name] (canceled)'
email_body:
content:
value: |-
<p>[user:display-name],</p>
<p>Your account on <a href="[site:url]">[site:name]</a> has been canceled.</p>
format: email_html
email_skip_sending:
message: 'Notification disabled in settings'

View File

@ -0,0 +1,12 @@
uuid: 33837c25-bf4c-4625-8398-4129b8bad533
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: JlhtZGzrKvb_1TFIVW-o2lEEoeutUxHkdpZ1WzIkJMY
id: sendmail
label: Sendmail
plugin: sendmail
configuration:
query:
command: ''

View File

@ -0,0 +1,12 @@
uuid: 528a2253-e43a-438a-b6db-0dd8b309effd
langcode: fr
status: true
dependencies: { }
id: smtp_mailjet
label: 'SMTP mailjet'
plugin: smtp
configuration:
user: cec52b4eb2d759f5372dfd194585c388
pass: 07aaab76d591f8161158d0df79d280eb
host: in-v3.mailjet.com
port: 587

View File

@ -0,0 +1,3 @@
_core:
default_config_hash: L0CsIVzS4Y9GjtnVFyTEoSC8GqjF3ULre41Nx6ZZJz4
default_transport: smtp_mailjet

View File

@ -3,4 +3,3 @@ _core:
langcode: fr langcode: fr
interface: interface:
default: mailjet_mail default: mailjet_mail
mailgun: mailgun

@ -1 +1 @@
Subproject commit 7bf07a20b7ac7383f72c9df88449ad299924ec99 Subproject commit 5ef9a17d3bd90f02943d1e3b90cd67fdf090009f