Hi Ludovic,

If I may invite myself in the discussion, I have the same questions
concerning the mail archive app I'm writing, in which I plan to add a
"reply" feature on one side, and on the other side add management of
vcalendar parts in incoming emails. Naturally, it would then be nice to be
able to send vcalendar as an email part (or any type of part).

For now there's no "reply" feature so of course I do not use the mailsender
plugin. But there's the beginning of a "mail" component, for now dedicated
to the mail archive app, and obviously aiming at hiding javamail api
behind, and providing facilities to parse emails headers and parts, and why
not send emails. For now it "knows" how to read and compute most emails
content (text, html, headers, attachments, attached emails), though has
same limitation (including vcalendar).

Currently the api is like that, but is quite draft and unstable (mostly the
update/create*Page that are not even implemented, and IMO should be
removed):
https://github.com/xwiki-contrib/xwiki-application-mailarchive/blob/master/xwiki-contrib-mail/src/main/java/org/xwiki/contrib/mail/IMailComponent.java
What's available from parsed mail body is:
https://github.com/xwiki-contrib/xwiki-application-mailarchive/blob/master/xwiki-contrib-mail/src/main/java/org/xwiki/contrib/mail/MailContent.java

Obviously, when all that reaches a final state, it would be nice for a
"mail" and/or "mailsender" component to be shared for xwiki and the mail
archive app (and whoever wants to bother with mails) needs,

That was for your information,

BR,
Jeremie



2012/11/23 Ludovic Dubost <[email protected]>

> Hi,
>
> I wanted to discuss about the future of the mailsender plugin ?
>
> I've been working on a small tool to be able to send a Calendar Invitation
> by email from a Meeting Notes AppWithinMinutes application and I found some
> limitation in the mailsender plugin, namely you cannot add multipart
> alternative email parts in addition to the text and html parts already
> supported by the plugin.
>
> I was able to hack the mailsender plugin to add a vcalendar part but it
> does not really sound right to do that since we should support any part of
> any content type, but this is a bigger refactoring.
>
> I was wondering what the future is for the mailsender plugin. Do we plan to
> make it a component and keep the same functionality ? Is there a plan for
> an alternative component ?
>
> And what would be the approach to add a vcalendar part in emails sent by
> the current mailsender ? This would be needed to support the feature of
> sending invitation emails which would be very powerfull.
>
> Ludovic
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to