PHP miniMail Howto - Version 1.3
==================================
-> Please see the english Howto below
DEUTSCHES HowTo
-----------------
Vielen Dank, dass Du den PHP miniMail-Mailer verwendest: Er ist UTF-8 (Mehrsprachen) fähig
und unterstützt sowohl Dateianhänge, als auch Prioräten, Lese- und Empfangsbestätigungen.
Du kannst ihn als Objekt verwenden oder jede Funktion direkt aufrufen (= statische Funktionen).
Nun folgenden ein paar Beispiele, wie der Einsatz des kleinen schnuckeligen Mailers aussehen kann:
// Benutz ihn als Objekt:
$mailer= new miniMail();
$mailer->send( 'empfaenger@maildomain.com',
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!'
);
// Oder direkt über einen statischen Funktionsaufruf:
// Versende eine HTML Mail:
miniMail::send( 'empfaenger@maildomain.com',
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!'
);
// Versende einen HTML Newsletter
miniMail::send( array( 'empfaenger@maildomain.com',
'nochein.empfaenger@maildomain.com'
),
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!'
);
// Versende eine wichtige HTML Mail mit Lese- und Empfangsbestätigung
miniMail::sendImportant( 'empfaenger@maildomain.com',
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!'
);
// Versende eine HTML Mail mit Anhang
miniMail::sendAttachments( 'empfaenger@maildomain.com',
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!'
'datei.txt'
);
// Versende eine HTML Mail mit mehreren Anhängen
miniMail::sendAttachments( 'empfaenger@maildomain.com',
'absender@andere-maildomain.de',
'Testmail',
'Das ist eine Testmail!',
array( 'datei.txt',
'datei.gif'
)
);
ENGLISH HowTo
---------------
Thank you for using the PHP miniMail-Mailer: Its multilanguage compatible
and supports attachments as well as priority, read confirmation and disposition
notification.
You can use it as Object or call each function directly (= static functions).
Here are some examples on how to use this nice little Mailer:
// Use it as object:
$mailer= new miniMail();
$mailer->send( 'destination@maildomain.com',
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!'
);
// Or directly with static function call:
// Send a HTML mail
miniMail::send( 'destination@maildomain.com',
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!'
);
// Send a HTML newsletter
miniMail::send( array( 'destination@maildomain.com',
'another.destination@maildomain.com'
),
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!'
);
// Send an important HTML mail with read- und disposition notification
miniMail::sendImportant( 'destination@maildomain.com',
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!'
);
// Send a HTML mail with attachment
miniMail::sendAttachments( 'destination@maildomain.com',
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!'
'file.txt'
);
//Send a HTML mail with multiple attachment
miniMail::sendAttachments( 'destination@maildomain.com',
'sender@another-maildomain.com',
'Testmail',
'This is a testmail!',
array( 'file.txt',
'file.gif'
)
);