PHP using GMAIL SMTP on IIS
I have the following function:
<?php
ini_set('SMTP','ssl://smtp.gmail.com');
$to = 'test@yobilab.com';
$subject = 'Example subject';
$body = 'With an example body…';
mail($to, $subject , $body);
?>
How do I modify it to use Gmail SMPT?
I will propably need to specify a port, a username, a pas开发者_运维问答sword etc..
Do you know how?
精彩评论