X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Femail.php-class;h=5f6454a3835ea432a0cbd3496c3700a4d38e9db3;hp=9e5adba9a2ba91a53a01bc9b8e371c86492fa36b;hb=e920ca68f705d79c416b98752c228c57271d66e0;hpb=269bd14784a6c1aa18367d7c871ca5e55626aa30 diff --git a/include/classes/email.php-class b/include/classes/email.php-class index 9e5adba..5f6454a 100755 --- a/include/classes/email.php-class +++ b/include/classes/email.php-class @@ -1,4 +1,24 @@ + * + * ***** END LICENSE BLOCK ***** */ + class email { // email PHP class // class/object for creating a new mail and send it @@ -76,6 +96,9 @@ class email { // function addMailText($textpart) // add some text to the mail // + // function addAttachment($aname, $acontent, [$atype]) + // add an attachment to the mail, use given file name, content and MIME type (defaults to application/octet-stream) + // // function send() // really send the mail //