mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
- sancho mails über config deaktivieren
This commit is contained in:
@@ -41,6 +41,9 @@ const FALLBACK_SENDER = 'noreply';
|
||||
*/
|
||||
function sendSanchoMail($vorlage_kurzbz, $vorlage_data, $to, $subject, $headerImg = '', $footerImg = '', $replyTo = '', $cc = '')
|
||||
{
|
||||
if (defined('SANCHO_MAIL_ENABLED') && (SANCHO_MAIL_ENABLED === false))
|
||||
return true;
|
||||
|
||||
$from = ((defined('SANCHO_MAIL_DEFAULT_SENDER') && SANCHO_MAIL_DEFAULT_SENDER != '')
|
||||
? SANCHO_MAIL_DEFAULT_SENDER
|
||||
: FALLBACK_SENDER)
|
||||
|
||||
Reference in New Issue
Block a user