Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit 61bb525

Browse files
authored
Merge pull request #1 from imclean557/drupal-phpmailer-smtp
Add PHPMailer SMTP instructions
2 parents 434e9ea + 92dc585 commit 61bb525

File tree

1 file changed

+22
-1
lines changed
  • content/docs/for-developers/sending-email

1 file changed

+22
-1
lines changed

content/docs/for-developers/sending-email/drupal.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group: plugins
66
navigation:
77
show: true
88
---
9-
To send emails from Drupal using SendGrid, you may use the SendGrid Integration module, the SMTP Authentication Support module, or the Swift Mailer module depending on your needs.
9+
To send emails from Drupal using SendGrid, you may use the SendGrid Integration module, the SMTP Authentication Support module, the Swift Mailer module or the PHPMailer SMTP Module depending on your needs.
1010

1111
## Using the SendGrid Integration Module
1212

@@ -42,3 +42,24 @@ To use the [Swift Mailer module](https://www.drupal.org/project/swiftmailer "Swi
4242
Configuration for this module is largely the same as above.
4343

4444
![]({{root_url}}/images/drupal_3.png "SMTP Module Configuration")
45+
46+
## Using the PHPMailer SMTP Module
47+
48+
PHPMailer SMTP sends email via SMTP using the latest PHPMailer library and is RFC-compliant. It requires the [Mail System](https://www.drupal.org/project/mailsystem "Mail System") module. See the [project page](https://www.drupal.org/project/phpmailer_smtp "PHPMailer SMTP") for more details.
49+
50+
Install using composer and enable.
51+
52+
`composer require drupal/phpmailer_smtp`
53+
54+
Once installed access `admin/config/system/phpmailer-smtp` to configure the module.
55+
56+
- **Primary SMTP server** - smtp.sendgrid.net
57+
- **SMTP port** - 587
58+
- **Use Secure Protocol** - TLS
59+
60+
Under **SMTP Authentication**, set your username and password:
61+
62+
- **Username** - SendGrid Username
63+
- **Password** - SendGrid Password
64+
65+

0 commit comments

Comments
 (0)