Mailer
[
class tree: Mailer
] [
index: Mailer
] [
all elements
]
Packages:
default
Mailer
StupidGrep
Source for file mailer.class.php
Documentation is available at
mailer.class.php
<?php
/**
* Email sender
*
* Simple wrapper for php-mailer
*
*
@author
Eric Lamb <eric@ericlamb.net>
*
@version
.01
*
@link
http://blog.ericlamb.net/
*
@copyright
2008 Eric Lamb
*
@package
Mailer
*
@filesource
*/
/**
* Include php-mailer class
*/
include_once
(
'phpmailer/class.phpmailer.php'
)
;
/**
*
@package
Mailer
*/
class
Mailer
Extends
PHPMailer
{
/**
* Sets the authentication for SMTP
*
*/
function
__construct
(
)
{
$this
->
IsSMTP
(
)
;
// telling the class to use SMTP
$this
->
Host
=
"host"
;
// SMTP server
$this
->
SMTPAuth
=
TRUE
;
$this
->
Username
=
'username'
;
$this
->
Password
=
'password'
;
}
}
?>
Documentation generated on Thu, 01 Jan 2009 14:04:18 -0800 by
phpDocumentor 1.4.2