2017 © Pedro Peláez
 

library php-mailer-smtp-wrapper

PHPMailer SMTP Wrapper

image

sses-tokyo/php-mailer-smtp-wrapper

PHPMailer SMTP Wrapper

  • Saturday, October 7, 2017
  • by sses-tokyo
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHPMailerSMTPWrapper

Description

This is the PHPMailerWrapper for SMTP., (*1)

Installation & loading

PHPMailerSMTPWrapper is available on Packagist (using semantic versioning), and installation via composer is the recommended way to install PHPMailerSMTPWrapper. Just add this line to your composer.json file:, (*2)

"sses-tokyo/php-mailer-smtp-wrapper": "^1.0"

or run, (*3)

composer require sses-tokyo/php-mailer-smtp-wrapper

A Simple Example

```php <?php require 'vendor/autoload.php';, (*4)

use SSESTokyo\PHPMailerSMTPWrapper\PHPMailerSMTPWrapper;, (*5)

$debug = 0; $secure = 'tls'; $host = 'example.com'; $port = '587'; $user = 'test@example.com'; $password = '***'; $mail = new PHPMailerSMTPWrapper($debug, $secure, $host, $port, $user, $password);, (*6)

$to = 'test@example.com'; $subject = 'PHPMailerSMTPWrapper'; $body = 'This is a test mail.'; $fromname = $user; $fromaddress = $user; $res = $mail->send($to, $subject, $body, $fromname, $fromaddress); echo $res;, (*7)

The Versions

07/10 2017

dev-master

9999999-dev

PHPMailer SMTP Wrapper

  Sources   Download

MIT

The Requires

 

by Avatar sses-tokyo

wrapper phpmailer smtp

05/10 2017

1.0.3

1.0.3.0

PHPMailer SMTP Wrapper

  Sources   Download

MIT

The Requires

 

by Avatar sses-tokyo

wrapper phpmailer smtp

05/10 2017

1.0.0

1.0.0.0

PHPMailer SMTP Wrapper

  Sources   Download

MIT

The Requires

 

by Avatar sses-tokyo

wrapper phpmailer smtp