[xwiki-devs] [VOTE] Integrate new Mail Sender module in XWiki Platform
Hi devs, Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform. More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule Here’s my +1 Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases. Thanks -Vincent
+1 On Thu, Jun 12, 2014 at 5:05 PM, [email protected] <[email protected]> wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 2014-06-12 17:14 GMT+02:00 Thomas Mortagne <[email protected]>:
+1
On Thu, Jun 12, 2014 at 5:05 PM, [email protected] <[email protected]> wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0 Thanks, Marius On Thu, Jun 12, 2014 at 6:05 PM, [email protected] <[email protected]> wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0 Thanks, Caty On Fri, Jun 13, 2014 at 9:00 AM, Marius Dumitru Florea < [email protected]> wrote:
+0
Thanks, Marius
On Thu, Jun 12, 2014 at 6:05 PM, [email protected] <[email protected]> wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi devs, First version committed in 6.1M2 (thanks Thomas for the move from contrib to platform). See http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API Please try it/provide feedback to improve the API! Thanks -Vincent On 12 Jun 2014 at 17:05:21, [email protected] ([email protected](mailto:[email protected])) wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
Hi Vincent, Just a small question about the script service, is the following: "$message.addPart("text/plain", "text message") $message.addPart("text/html", "html message")" ... the same as doing : "$message.addPart("text/html", "html message", {"alternate" : "text message"})" ? About this: "// Add simple text to message with a ***JavaMail*** header $message.addPart("text", "text message", {"headers" : { "Content-Transfer-Encoding" : "quoted-printable"}})" Technically, it's not a javamail header, it's a mail header. For the java api sample, the last lines: "send.send(message, session, listener); // Optional: Block till there are no more messages on the sending queue. // Parameter passed is the max time to wait in milliseconds. send.waitTillSent(10000L);" ... should be "sender" not "send" I suppose. Thanks, Jeremie 2014-06-13 16:57 GMT+02:00 [email protected] <[email protected]>:
Hi devs,
First version committed in 6.1M2 (thanks Thomas for the move from contrib to platform).
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API
Please try it/provide feedback to improve the API!
Thanks -Vincent
On 12 Jun 2014 at 17:05:21, [email protected] ([email protected](mailto: [email protected])) wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
2014-06-13 17:30 GMT+02:00 Jeremie BOUSQUET <[email protected]>:
Hi Vincent,
Just a small question about the script service, is the following:
"$message.addPart("text/plain", "text message") $message.addPart("text/html", "html message")"
To be clearer, does it create a "multipart/alternative" in this case ?
... the same as doing :
"$message.addPart("text/html", "html message", {"alternate" : "text message"})"
?
About this:
"// Add simple text to message with a ***JavaMail*** header $message.addPart("text", "text message", {"headers" : { "Content-Transfer-Encoding" : "quoted-printable"}})"
Technically, it's not a javamail header, it's a mail header.
For the java api sample, the last lines:
"send.send(message, session, listener);
// Optional: Block till there are no more messages on the sending queue. // Parameter passed is the max time to wait in milliseconds. send.waitTillSent(10000L);"
... should be "sender" not "send" I suppose.
Thanks, Jeremie
2014-06-13 16:57 GMT+02:00 [email protected] <[email protected]>:
Hi devs,
First version committed in 6.1M2 (thanks Thomas for the move from contrib to platform).
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API
Please try it/provide feedback to improve the API!
Thanks -Vincent
On 12 Jun 2014 at 17:05:21, [email protected] ([email protected] (mailto:[email protected])) wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Jeremie, On 13 Jun 2014 at 17:33:38, Jeremie BOUSQUET ([email protected](mailto:[email protected])) wrote:
2014-06-13 17:30 GMT+02:00 Jeremie BOUSQUET :
Hi Vincent,
Just a small question about the script service, is the following:
"$message.addPart("text/plain", "text message") $message.addPart("text/html", "html message")"
To be clearer, does it create a "multipart/alternative" in this case ?
I’ve updated the doc, please check http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HHowtoc...
... the same as doing :
"$message.addPart("text/html", "html message", {"alternate" : "text message"})"
?
Nope it’s not the same, see the link.
About this:
"// Add simple text to message with a ***JavaMail*** header $message.addPart("text", "text message", {"headers" : { "Content-Transfer-Encoding" : "quoted-printable"}})"
Technically, it's not a javamail header, it's a mail header.
Fixed, thanks.
For the java api sample, the last lines:
"send.send(message, session, listener);
// Optional: Block till there are no more messages on the sending queue. // Parameter passed is the max time to wait in milliseconds. send.waitTillSent(10000L);"
... should be "sender" not "send" I suppose.
Fixed, thanks Generally, do you like the API? There are lots of future ideas to implement several MimeBodyPartFactory! For example the following: $message.addPart(“xwiki/docref”, DocumentReference) Would automatically generate a mime body part with the content of the referenced document in both text and HTML with all its attachments added, including embedded images, nice, isn’t it? :) Thanks -Vincent
Thanks, Jeremie
2014-06-13 16:57 GMT+02:00 [email protected] :
Hi devs,
First version committed in 6.1M2 (thanks Thomas for the move from contrib to platform).
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API
Please try it/provide feedback to improve the API!
Thanks -Vincent
On 12 Jun 2014 at 17:05:21, [email protected] ([email protected] (mailto:[email protected])) wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
Thanks Vincent, Le 13 juin 2014 17:50, "[email protected]" <[email protected]> a écrit :
Hi Jeremie,
On 13 Jun 2014 at 17:33:38, Jeremie BOUSQUET ([email protected]
(mailto:[email protected])) wrote:
2014-06-13 17:30 GMT+02:00 Jeremie BOUSQUET :
Hi Vincent,
Just a small question about the script service, is the following:
"$message.addPart("text/plain", "text message") $message.addPart("text/html", "html message")"
To be clearer, does it create a "multipart/alternative" in this case ?
I’ve updated the doc, please check
http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HHowtoc...
... the same as doing :
"$message.addPart("text/html", "html message", {"alternate" : "text message"})"
?
Nope it’s not the same, see the link.
About this:
"// Add simple text to message with a ***JavaMail*** header $message.addPart("text", "text message", {"headers" : { "Content-Transfer-Encoding" : "quoted-printable"}})"
Technically, it's not a javamail header, it's a mail header.
Fixed, thanks.
For the java api sample, the last lines:
"send.send(message, session, listener);
// Optional: Block till there are no more messages on the sending
queue.
// Parameter passed is the max time to wait in milliseconds. send.waitTillSent(10000L);"
... should be "sender" not "send" I suppose.
Fixed, thanks
Generally, do you like the API?
Yes, it 's simple yet flexible, and easy to understand, IMHO.
There are lots of future ideas to implement several MimeBodyPartFactory!
For example the following:
$message.addPart(“xwiki/docref”, DocumentReference)
Would automatically generate a mime body part with the content of the
referenced document in both text and HTML with all its attachments added, including embedded images, nice, isn’t it? :) Maybe I wouldn't call it addPart(), as it does not correspond to the real mime part that will be sent... ? It seems to be a multipart/alternative. Maybe "addParts" would seem more logical in this case, or "generateParts"...
Thanks -Vincent
Thanks, Jeremie
2014-06-13 16:57 GMT+02:00 [email protected] :
Hi devs,
First version committed in 6.1M2 (thanks Thomas for the move from
contrib
to platform).
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API
Please try it/provide feedback to improve the API!
Thanks -Vincent
On 12 Jun 2014 at 17:05:21, [email protected] ([email protected] (mailto:[email protected])) wrote:
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks -Vincent
participants (6)
-
Ecaterina Moraru (Valica) -
Guillaume "Louis-Marie" Delhumeau -
Jeremie BOUSQUET -
Marius Dumitru Florea -
Thomas Mortagne -
vincent@massol.net