2017 © Pedro PelĂĄez
 

library mail

PHP-Mailsystem basierend auf PhpMailer

image

drips/mail

PHP-Mailsystem basierend auf PhpMailer

  • Friday, July 22, 2016
  • by KRaFFiX
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Mail

Build Status Code Climate Test Coverage Latest Release, (*1)

Beschreibung

Mailer basierend auf PHPMailer., (*2)

Konfiguration

  • mail_smtp - legt fest ob ein SMTP Server verwendet werden soll (true/false)
  • mail_smtp_host - SMTP Host angeben
  • mail_smtp_auth- legt fest ob Authentifizierung erforderlich ist (true/false)
  • mail_smtp_username - Benutzername
  • mail_smtp_password - Passwort
  • mail_smtp_secure- VerschlĂŒsselung
  • mail_smtp_port - Port
  • mail_from_email - (optional) Emailadresse von der die Emails standardmĂ€ĂŸig abgesendet werden sollen
  • mail_from_name - (optional) Absendername, der angezeigt wird
  • mail_cc - (optional) Kopie der Email an mehrere EmpfĂ€nger
  • mail_bcc - (optional) Blindkopie der Email

Beispiel

<?php

use Drips\Mail\Mail;

$mail = new Mail;

$mail->addAddress('test@prowect.com', 'Test'); // EmpfĂ€nger hinzufĂŒgen (zweiter Parameter ist optional);
$mail->addReplyTo('test@prowect.com', 'Test'); // EmpfÀnger der Antwort-Email
$mail->addAttachment('/test/image.png'); // Anhang hinzufĂŒgen
$mail->isHTML(true); // HTML Email Format

$mail->Subject = 'Here is the subject'; // Betreff
$mail->Body = 'This is the body for HTML mail clients'; // Nachricht
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; // Alternativ wenn HTML nicht unterstĂŒtzt wird

if(!$mail->send()) {
    // Email konnte nicht gesendet werden
} else {
    // Email wurde erfolgreich gesendet
}

The Versions

22/07 2016

dev-master

9999999-dev

PHP-Mailsystem basierend auf PhpMailer

  Sources   Download

MIT

The Requires

 

mail

22/07 2016

v1.0.0

1.0.0.0

PHP-Mailsystem basierend auf PhpMailer

  Sources   Download

MIT

The Requires

 

mail