0 Members and 1 Guest are viewing this topic.

*

Pharg

  • *****
  • 3,042
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
SMTP email sending Fix
« on: March 30, 2018, 04:29:58 AM »
Hi Members,

I have found the fix for the SMTP issue either getting a white-page or just not sending.

In the /includes/internal/Functions.php find this on line 499
Code: [Select]
if ( trim( $config['MAIL_TYPE'] ) == '' ) {
$mail_type = 'mail';
}
else {
$mail_type = ($config['MAIL_TYPE']!='MAIL_TYPE')?$config['MAIL_TYPE']:'smtp';
}

Change to this:
Code: [Select]
if ( trim( $config['MAIL_TYPE'] ) == '' ) {
$mail_type = 'mail';
}
else {
$mail_type = ($config['MAIL_TYPE']!='MAIL_TYPE');
}

That's it, all done.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35