Tag Archives: OpenSSL

  • PHP with using Gmail SMTP

    Posted on September 23, 2008 by in Other Technologies

    If you want to use gmail smtp server in PHP, php mailer is a good choice for you. Here is the example: include(“class.phpmailer.php”); $mail = new PHPMailer (); $mail->IsSMTP (); $mail->SMTPAuth   = true; $mail->SMTPSecure = “ssl”; $mail->Host = “smtp.gmail.com”; $mail->Port  = 465; $mail->Mailer= “smtp”; $mail->Username   = “username@gmail.com”; $mail->Password   >= “password”; $mail->AddReplyTo (“Reply [...]

    1,633 Comments. Continue Reading...