Source Rally PHP Community Scripts .. Sign up .. Login
A simple demonstration of using SMTP on phpmailer
This snippet is dependent on
Access: Public      Tags: phpmailer, mail, smtp
Add to favourites       Subscribe comments       Copy code       Bookmark
<?php
$mail 
= new PHPMailer;
$mail->isSMTP();//
$mail->Host $smtpHost;//smpt.domain.com
$mail->Port $smtpPort;//usually 25
$mail->SMTPKeepAlive true;
//set other values here!
$mail->send();//multiple times!?
$mail->SmtpClose();
?>
Add to favourites       Subscribe comments       Copy code       Bookmark
Sign up to add your own comment here!

Comments

Marius - 26-11-2010 10:44
Add to friends       Mail user
muy bueno....

gracias
More comments: 1
Shared by:

regin

Mail user Add to friends
All user contributed content is available under the unless specified otherwise.
Remaining copyrights Regin Gaarsmand 2006-2008
About www.SourceRally.net