Commit Graph

21 Commits

Author SHA1 Message Date
43a45b59c4 mail: allow mails to not have an encoding defined. Then do not transform the result
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3756 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-13 09:18:56 +00:00
c597acea60 mail: allow 7bit contents
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3753 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-12 13:40:34 +00:00
2ae8a6dad0 mail: change the getMessageID method to provideMessageID
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3738 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-30 18:48:46 +00:00
d70014ad3e mail: notice if malformed mail is corrected
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3737 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-30 13:45:50 +00:00
aabb3a8e98 mail: Remove the not needed CR in getDetails
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3712 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-20 19:17:36 +00:00
0b2d566c9f mail: convert the headers to UTF-8 if the mime encoding is set
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3711 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-20 19:09:41 +00:00
8658bd8a86 mail: allow header to be set to empty
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3710 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-20 18:59:53 +00:00
d551a70e53 mail: allow to read bad formed mail without notice
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3709 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-20 18:49:26 +00:00
b55ea95fae DomCI : Update all the PHPDoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-09 14:47:48 +00:00
3a004fbdc0 Update the PHPDocs to modify the invalid types of parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3272 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-08 15:33:26 +00:00
1ddc03dcbb DomCI : Change the non existing PHPDocs types
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3269 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-08 15:07:52 +00:00
ea54592f5b Remove all the too long lines
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3266 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-08 14:56:34 +00:00
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