Commit Graph

36 Commits

Author SHA1 Message Date
033b817627 Add license BSD on each file header
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6096 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-07 14:13:56 +00:00
c5316826af Header update on all the files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6095 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-07 14:08:26 +00:00
5f52085461 mail : getHeaders function added
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 20:42:39 +00:00
abd8b70ad1 mail : folding missing
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5826 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 15:22:12 +00:00
39e47d70c6 mail : Add folding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5472 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-11 12:35:07 +00:00
e72c0a849e mail : getDetails return attachmentDetails at empty if no attach is defined
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5471 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-11 12:27:50 +00:00
17168aaaef Update gettext : add spaces
DomCi : remove line too longs on all the files


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-23 14:19:30 +00:00
5fcd1731fd Update all the _( to dgettext ("domframework"
Update locales


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-13 08:36:47 +00:00
534b2213c8 mail : manage the namespace
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5186 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-04-01 19:18:45 +00:00
b999bd7e5b mail: mail is now capable to read Mailer-Daemons and extract parts as attachment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3782 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-16 13:58:57 +00:00
18bbfb5f5b mail: getDetail subject is now really converted to UTF-8
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3781 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-16 11:46:35 +00:00
de6b079075 mail: Add the headers with \r\n instead of \n
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3780 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-16 11:29:29 +00:00
64640a1d2b mail: do not use not defined array keys and generate warnings
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3778 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-16 11:16:27 +00:00
8f482734da domci on mail
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3771 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-14 11:31:48 +00:00
3d571ae233 mail: add a Return-Path header is done on the first line and the other headers are added at the end of the headers
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3759 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-13 14:16:58 +00:00
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