This is an old revision of the document!
Table of Contents
SMTP Plugin
Compatible with DokuWiki
hrun
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to swiftmail
This plugin replaces the way DokuWiki sends emails. Instead of relying on PHP's built-in mail function, it will contact a configured SMTP server directly to send emails. This is especially useful when configuring PHP for sending mails is complicated (Windows) or not possible.
This plugin mainly replaces the old SwiftMail plugin. It supports sending HTML emails. However it does NOT support POP-before-SMTP authentication. If you still need that, you have to rely on the SwiftMail plugin. For everyone else this plugin is recommended now.
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Changes
- Version upped (2023-04-12 23:50)
- Merge pull request #58 from glensc/patch-1 (2023-04-12 08:57)
- Merge pull request #57 from dokuwiki-translate/lang_update_604_168011… (2023-04-12 08:54)
- Message: Fix continuation spelling (2023-04-03 10:58)
- translation update (2023-03-29 20:30)
- Merge pull request #53 from dokuwiki-translate/lang_update_538_167434… (2023-01-22 22:39)
- translation update (2023-01-22 00:20)
- Merge pull request #34 from dokuwiki-translate/lang_update_1384_15722… (2022-10-13 20:10)
Configuration
All config options can be set in the configuration manager under the “SMTP Plugin Settings” section.
Additionally you need to set up the mailfrom option, which is in the “Notification Settings” section of the configuration manager.
When the debugging option is enabled the whole SMTP session will be printed directly to the screen when sending the mail fails. You should disable this when your setup works.
Testing
The plugin adds a new item to the Admin screen. Using this you can trigger sending a test mail from DokuWiki. If something goes wrong sending this mail, a detailed log is printed.