Quantcast
Channel: TecShout » PHP
Viewing all articles
Browse latest Browse all 3

Send email from PHP page using GMail SMTP server

$
0
0
Following code helps the php developers to send email using gmail smtp server. <?php require_once "Mail.php"; $from = "<fromaddress@domain.com>"; $to = "<toaddress@domain.com>"; $subject = "Hey"; $body = "Hi,\n Hello World?"; $host = "ssl://smtp.gmail.com"; $port = "465"; $username = "loginusername@gmail.com"; $password … Continue reading

Viewing all articles
Browse latest Browse all 3

Trending Articles