Right now, just the mail functionality itself
I have tried all this
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '587';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = '
scott@domain.com';
$g_administrator_email='
scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='
scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = '
scott@domain.com';
$g_administrator_email='
scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='
scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
#$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = '
scott@domain.com';
$g_administrator_email='
scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='
scott@domain.com';
and I have this in my dns records
v=spf1 ip4:xx.xx.xx.xx include:spf.protection.outlook.com -all
And it still tells me to check my mail settings when I try to send a test mail. And the page takes forever to respond back.