Net_SMTPがSTARTTLSに対応したらしいのでさっそくやってみた。 <?php require_once 'Mail.php'; $params = array( 'host' => 'smtp.gmail.com', 'port' => 587, 'auth' => true, 'username' => 'example@gmail.com', 'password' => 'password', 'debug' => true, ); $headers = array( 'From' => 'example@gmail.com', 'To' => 'example@gmail.com', 'Subject' => 'Subjeeeeeeeeeeeeeeeect!' ); $recipients = 'example@gmail.com'; $body = 'Bodyyyyyyy