Adding smpt mail.

This commit is contained in:
Dan Chadwick 2024-08-17 14:42:25 -04:00
parent 7a7e4d0516
commit fe8c772cc5
6 changed files with 274 additions and 3 deletions

View File

@ -29,9 +29,11 @@
"drupal/google_tag": "^2.0", "drupal/google_tag": "^2.0",
"drupal/jsonapi_permission_access": "1.0.1", "drupal/jsonapi_permission_access": "1.0.1",
"drupal/layout_builder_styles": "^2.0", "drupal/layout_builder_styles": "^2.0",
"drupal/mailsystem": "^4.5",
"drupal/migrate_plus": "^6.0", "drupal/migrate_plus": "^6.0",
"drupal/migrate_tools": "^6.0", "drupal/migrate_tools": "^6.0",
"drupal/pathauto": "^1.12", "drupal/pathauto": "^1.12",
"drupal/smtp": "^1.4",
"drupal/stage_file_proxy": "^2.1", "drupal/stage_file_proxy": "^2.1",
"drupal/views_bulk_operations": "^4.2", "drupal/views_bulk_operations": "^4.2",
"drupal/views_json_source": "^2.0", "drupal/views_json_source": "^2.0",

243
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": "54a0447fd219727c24bcd1da34fde1d6", "content-hash": "4be6f7c8ed4600a2c414add687425d37",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -2597,6 +2597,86 @@
"source": "https://git.drupalcode.org/project/layout_builder_styles" "source": "https://git.drupalcode.org/project/layout_builder_styles"
} }
}, },
{
"name": "drupal/mailsystem",
"version": "4.5.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/mailsystem.git",
"reference": "8.x-4.5"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/mailsystem-8.x-4.5.zip",
"reference": "8.x-4.5",
"shasum": "e52a814a87b343ab69f8d8ef462a9873c1d01158"
},
"require": {
"drupal/core": "^9 || ^10.1 || ^11"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-4.5",
"datestamp": "1723379369",
"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": "berdir",
"homepage": "https://www.drupal.org/user/214652"
},
{
"name": "emartoni",
"homepage": "https://www.drupal.org/user/3225331"
},
{
"name": "joseph.olstad",
"homepage": "https://www.drupal.org/user/1321830"
},
{
"name": "Les Lim",
"homepage": "https://www.drupal.org/user/84263"
},
{
"name": "Manuel Garcia",
"homepage": "https://www.drupal.org/user/213194"
},
{
"name": "miro_dietiker",
"homepage": "https://www.drupal.org/user/227761"
},
{
"name": "Nafes",
"homepage": "https://www.drupal.org/user/2489926"
},
{
"name": "pillarsdotnet",
"homepage": "https://www.drupal.org/user/36148"
},
{
"name": "renatog",
"homepage": "https://www.drupal.org/user/3326031"
},
{
"name": "TR",
"homepage": "https://www.drupal.org/user/202830"
}
],
"description": "Mail System",
"homepage": "https://www.drupal.org/project/mailsystem",
"support": {
"source": "https://git.drupalcode.org/project/mailsystem"
}
},
{ {
"name": "drupal/migrate_plus", "name": "drupal/migrate_plus",
"version": "6.0.2", "version": "6.0.2",
@ -2801,6 +2881,82 @@
"documentation": "https://www.drupal.org/docs/8/modules/pathauto" "documentation": "https://www.drupal.org/docs/8/modules/pathauto"
} }
}, },
{
"name": "drupal/smtp",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/smtp.git",
"reference": "8.x-1.4"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/smtp-8.x-1.4.zip",
"reference": "8.x-1.4",
"shasum": "963b4670dc609f30a8c003d888d88893d0841b21"
},
"require": {
"drupal/core": "^9.5 || ^10 || ^11",
"phpmailer/phpmailer": "^6.1.7"
},
"suggest": {
"drupal/mailsystem": "Allows using SMTP alongside other mail modules."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.4",
"datestamp": "1722032780",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"branch-alias": {
"dev-8.x-1.x": "1.x-dev"
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "japerry",
"homepage": "https://www.drupal.org/user/45640"
},
{
"name": "joseph.olstad",
"homepage": "https://www.drupal.org/user/1321830"
},
{
"name": "LukeLast",
"homepage": "https://www.drupal.org/user/30151"
},
{
"name": "oadaeh",
"homepage": "https://www.drupal.org/user/4649"
},
{
"name": "sadashiv",
"homepage": "https://www.drupal.org/user/1773304"
},
{
"name": "wundo",
"homepage": "https://www.drupal.org/user/25523"
},
{
"name": "yettyn",
"homepage": "https://www.drupal.org/user/93281"
}
],
"description": "Allow for site emails to be sent through an SMTP server of your choice.",
"homepage": "https://www.drupal.org/project/smtp",
"support": {
"source": "https://git.drupalcode.org/project/smtp",
"issues": "https://www.drupal.org/project/issues/smtp"
}
},
{ {
"name": "drupal/stage_file_proxy", "name": "drupal/stage_file_proxy",
"version": "2.1.4", "version": "2.1.4",
@ -4330,6 +4486,87 @@
}, },
"time": "2023-05-26T05:37:59+00:00" "time": "2023-05-26T05:37:59+00:00"
}, },
{
"name": "phpmailer/phpmailer",
"version": "v6.9.1",
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "039de174cd9c17a8389754d3b877a2ed22743e18"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/039de174cd9c17a8389754d3b877a2ed22743e18",
"reference": "039de174cd9c17a8389754d3b877a2ed22743e18",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"ext-filter": "*",
"ext-hash": "*",
"php": ">=5.5.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"doctrine/annotations": "^1.2.6 || ^1.13.3",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcompatibility/php-compatibility": "^9.3.5",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.7.2",
"yoast/phpunit-polyfills": "^1.0.4"
},
"suggest": {
"decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
"psr/log": "For optional PSR-3 debug logging",
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
},
"type": "library",
"autoload": {
"psr-4": {
"PHPMailer\\PHPMailer\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-2.1-only"
],
"authors": [
{
"name": "Marcus Bointon",
"email": "phpmailer@synchromedia.co.uk"
},
{
"name": "Jim Jagielski",
"email": "jimjag@gmail.com"
},
{
"name": "Andy Prevost",
"email": "codeworxtech@users.sourceforge.net"
},
{
"name": "Brent R. Matzelle"
}
],
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.1"
},
"funding": [
{
"url": "https://github.com/Synchro",
"type": "github"
}
],
"time": "2023-11-25T22:23:28+00:00"
},
{ {
"name": "phpowermove/docblock", "name": "phpowermove/docblock",
"version": "v4.0", "version": "v4.0",
@ -12947,7 +13184,9 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": [], "stability-flags": {
"drupal/gin": 5
},
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],

View File

@ -27,6 +27,7 @@ module:
layout_builder: 0 layout_builder: 0
layout_discovery: 0 layout_discovery: 0
link: 0 link: 0
mailsystem: 0
media: 0 media: 0
media_library: 0 media_library: 0
menu_link_content: 0 menu_link_content: 0
@ -40,6 +41,7 @@ module:
search: 0 search: 0
serialization: 0 serialization: 0
shortcut: 0 shortcut: 0
smtp: 0
system: 0 system: 0
taxonomy: 0 taxonomy: 0
text: 0 text: 0

View File

@ -0,0 +1,6 @@
_core:
default_config_hash: IhwTepsVwtbtbcT5GzQKhCXDCRvbk3MNkWqPiuiZ10s
theme: current
defaults:
sender: SMTPMailSystem
formatter: php_mail

View File

@ -0,0 +1,22 @@
_core:
default_config_hash: JqYNByWeXZGynyqoPRWQIjp3VcQhuoyq5WlM-7YzBvI
smtp_on: false
smtp_host: email-smtp.us-east-1.amazonaws.com
smtp_hostbackup: ''
smtp_port: '587'
smtp_protocol: tls
smtp_autotls: true
smtp_timeout: 30
smtp_username: AKIA6G47FTHID5HY673W
smtp_password: BLWb6vgsyAQ5Z9HCHH/YpfM3Vw50XCACkudD0IaRTJZA
smtp_from: daniel.chadwick612@gmail.com
smtp_fromname: ''
smtp_client_hostname: ''
smtp_client_helo: ''
smtp_allowhtml: false
smtp_test_address: dan@danchadwickdesign.com
smtp_reroute_address: ''
smtp_debugging: false
smtp_debug_level: 1
prev_mail_system: php_mail
smtp_keepalive: false

View File

@ -3,7 +3,7 @@ _core:
langcode: en langcode: en
uuid: 4c1dadab-795e-4d97-bf8a-833f30080021 uuid: 4c1dadab-795e-4d97-bf8a-833f30080021
name: 'Dan Chadwick' name: 'Dan Chadwick'
mail: admin@example.com mail: dan@danchadwickdesign.com
slogan: '' slogan: ''
page: page:
403: '' 403: ''