Skip to content

Instantly share code, notes, and snippets.

@FL-Retiree
FL-Retiree / GetSimple\admin\inc\basic.php
Created April 11, 2017 13:25
GetSimple/SMTP Mail Functionality
/* ----------------------------------------------------------------------
This code fragment and addition to the GetSimple config file is designed to provide the capability to use SMTP mail when sending from
the GetSimple core application, not from plugins. For example, when sending a mail generated by a user request to "Reset Password"
GetSimple uses the built in PHP Mail() function only. Many hosting environments are now requiring that PHP scripts only use SMTP for
security reasons and thus this suggested change...
------------------------------------------------------------------------- */
STEP #1 -
Add the following 2 lines to GSConfig.php:
# Change the default mailer to PHPMailer()