Question

I am using CakeDC to create the Auth portion of my CakePHP app. I set up the email correctly. The problem is that it is only sending correctly to Gmail. So when I try to register an @outlook.com email address - the email simply does not go through. Here is my EmailConfig class in the CakePHP Config:

class EmailConfig {

    public $default = array(
        'transport' => 'Mail',
        'from' => 'cyborg@example.io',
        //'charset' => 'utf-8',
        //'headerCharset' => 'utf-8',
    );

    public $smtp = array(
        'transport' => 'Smtp',
        'from' => array('cyborg@example.io' => 'My Site'),
        'host' => 'example.io',
        'port' => 25,
        'timeout' => 30,
        'username' => 'correctusername',
        'password' => 'correctpassword',
        'client' => null,
        'log' => false,
        //'charset' => 'utf-8',
        //'headerCharset' => 'utf-8',
    );

    public $fast = array(
        'from' => 'you@localhost',
        'sender' => null,
        'to' => null,
        'cc' => null,
        'bcc' => null,
        'replyTo' => null,
        'readReceipt' => null,
        'returnPath' => null,
        'messageId' => true,
        'subject' => null,
        'message' => null,
        'headers' => null,
        'viewRender' => null,
        'template' => false,
        'layout' => false,
        'viewVars' => null,
        'attachments' => null,
        'emailFormat' => null,
        'transport' => 'Smtp',
        'host' => 'localhost',
        'port' => 25,
        'timeout' => 30,
        'username' => 'user',
        'password' => 'secret',
        'client' => null,
        'log' => true,
        //'charset' => 'utf-8',
        //'headerCharset' => 'utf-8',
    );

}

Checked junk and other folders - it's not there.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top