Swift Mailer 530 harus mengeluarkan perintah startTls terlebih dahulu.

//encrytion should be set while using email library
$transport = (new \Swift_SmtpTransport($smtp_server, $smtp_port))
                        ->setUsername($smtp_username)
                        ->setPassword($smtp_password)
                        ->setEncryption('tls');  //important to set encryption here.
Handsome Horse