library mail
PHP-Mailsystem basierend auf PhpMailer
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
Mail
, (*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
}
dev-master
9999999-dev
PHP-Mailsystem basierend auf PhpMailer
Sources
Download
MIT
The Requires
mail
v1.0.0
1.0.0.0
PHP-Mailsystem basierend auf PhpMailer
Sources
Download
MIT
The Requires
mail