src/Mailing/SMTP.php
public static function getDefault()
    {
        $smtp = new self(
            config('mail.host'),
            config('mail.port'),
            config('mail.encryption'),
            config('mail.username'),
            config('mail.password'),
            config('mail.from')['adresse'],
            config('mail.from')['name']
            );

        // static::check($smtp);

        return $smtp;
    }
public static function getDefault()
    {
        $smtp = new self(
            config('mail.host'),
            config('mail.port'),
            config('mail.encryption'),
            config('mail.username'),
            config('mail.password'),
            config('mail.from')['adresse'],
            config('mail.from')['name']
            );

        // static::check($smtp);

        return $smtp;
    }
public static function getDefault ( ) { $ smtp = new self ( config ( 'mail.host' ) , config ( 'mail.port' ) , config ( 'mail.encryption' ) , config ( 'mail.username' ) , config ( 'mail.password' ) , config ( 'mail.from' ) [ 'adresse' ] , config ( 'mail.from' ) [ 'name' ] ) ; // static::check($smtp); return $ smtp ; }
Init the SMTP class by getting gefualt values from Config surface.

@return Vinala\Kernel\Mailing
Init the SMTP class by getting gefualt values from Config surface .