DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:smtp

SMTP Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Configure a SMTP server (with optional auth) for sending mails from within DokuWiki

Last updated on
2017-08-03
Provides
Admin, Action
Repository
Source
Conflicts with
swiftmail

Similar to swiftmail

Tagged with email, smtp, smtpauth

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

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.

plugin/smtp.txt · Last modified: 2017-08-03 23:51 by andi