gruenes-brett / community-calendar

Wordpress plugin that allows users to submit events to a website and to show them in a calendar
GNU General Public License v3.0
1 stars 1 forks source link

Set SMTP settings for PHPMailer #29

Closed joergrs closed 2 years ago

joergrs commented 2 years ago

Instead of a systemwide SMTP config (https://github.com/gruenes-brett/webseite/issues/35), enable a per-instance SMTP configuration of the PHPMailer as described in https://gist.github.com/butlerblog/7e4dbafcbc61b15505ee8ca90510f1e7.

The settings are stored as options: https://developer.wordpress.org/plugins/settings/options-api/

    comcal_use_smtp
    comcal_smtp_host
    comcal_smtp_auth
    comcal_smtp_port
    comcal_smtp_user
    comcal_smtp_pass
    comcal_smtp_secure
    comcal_smtp_from
    comcal_smtp_name