File: vendor/jackbooted/mail/SMTPSendMail.php

Recommend this page to a friend!
  Classes of Brett Dutton  >  JackBooted PHP Framework  >  vendor/jackbooted/mail/SMTPSendMail.php  >  Download  
File: vendor/jackbooted/mail/SMTPSendMail.php
Role: Class source
Content type: text/plain
Description: Class source
Class: JackBooted PHP Framework
Web application framework using simplified MVC
Author: By
Last change:
Date: 4 years ago
Size: 619 bytes



Class file image Download
namespace Jackbooted\Mail;

SMTPSendMail extends \PHPMailer {
    public function
__construct ( $host='localhost', $exceptions = false ) {
parent::__construct ( $exceptions );

$this->SMTPDebug = 0;

//Ask for HTML-friendly debug output
$this->Debugoutput = 'html';

//Set the hostname of the mail server
$this->Host = $host;

//Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
$this->Port = 25;

//Whether to use SMTP authentication
$this->SMTPAuth = false;

For more information send a message to info at phpclasses dot org.