Commit Graph

9 Commits

Author SHA1 Message Date
ad1d98b397 mail : change the boundary format to be compatible with Orange
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3196 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-11-14 13:12:22 +00:00
77a64e776c mail : allow 120 messages parts by mail
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3130 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-10-12 09:04:38 +00:00
85c6505ff0 mail : if addAttachmentInline, start the HTML to be mail compliant. Raise an exception if the html part is not provided before using getMail ();
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3126 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-10-11 12:14:45 +00:00
a04d3a4f4a Cosmetics changes : remove ending lines spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-31 07:20:24 +00:00
9e922ac748 mail : cut the long attachment filenames in headers with the correct encoding
mail : manage correctely the double-quotes in filenames


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2936 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-21 07:47:56 +00:00
ca7ee5d01f mail : add setSubject method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2927 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-20 11:37:41 +00:00
c1cbf1435a mail : update exception message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2721 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-20 18:50:56 +00:00
a6f19764e1 mail : Complete rewrite. Allow to read an existing mail
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2720 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-19 14:45:17 +00:00
23516c7b57 * mail : the mail creator. Allow to create complete mails easily
$mail = new mail ();
    $mail->setFrom ("sender@example.com","Sender Example Com");
    $mail->addTo ("recipient1@example.com","Recipient1 Example Com");
    $mail->addTo ("recipient2@example.com","Recipient2 Example Com");
    $mail->setBodyText ("Content of TextBody part");
    $mail->addAttachment ("file0.text", "File content");
    $contentID1 = $mail->addAttachmentInline ("file2.jpg", "qcqscqs");
    $mail->setBodyHTML ("<p>Content of HTMLBody part with inline
                         <img src='cid:$contentID1'></p>");
    echo $mail->getMail ();



git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2709 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-29 14:47:12 +00:00