cara kirim email dengan php pada sll atau tls

[php] $host = "ssl://mail.bernofarm.co.id"; $port = "465"; $username = "freddo@bernofarm.co.id"; $password = "freddo"; $headers = array(‘From’ => $from, ‘To’ => $to, ‘Subject’ => $subject); $smtp = Mail::factory(‘smtp’, array(‘host’ => $host, ‘port’ => $port, ‘auth’ => true, ‘username’ => $username, ‘password’ => $password)); //    echo "to = " . $to; //    echo "<br>subject = " . […]

© 2018 IT & Photography blog | ScrollMe by AccessPress Themes