| Name | mail2news Plugin |
|---|---|
| Vendor | Liip AG (Website) |
| Authors | Roman Schlegel, Liip AG, Lukas Karrer |
| Homepage | http://confluence.atlassian.com/display/CONFEXT/mail2news+Plugin |
| Issue Management | https://jira.liip.ch/browse/MAILTONEWS |
| Continuous Integration | n/a |
| Categories | Remote Access |
| Most Recent Version | 1.7 |
| Availability | Confluence v2.10 to v3.0.0_01 |
| State | Stable |
| Support |
|
| License | Freeware / Open Source (BSD) |
| Price | Free |
| Release Docs | |
| Java API Docs | n/a |
| Download Source | n/a |
| Download JAR | mail2news-1.7_2.10.x.jar |
Description/Features
Post news entries using email This is a simple plugin which can monitor an IMAP/S or POP3/S mailbox and publish emails as news entries. Special about it is that the space, in which the news should be published can be defined as an email-address wildcard (email+spacekey@domain.net). Attachments are also supported and are added as attachments to the news entry.
The email account is scanned every 5 minutes for new messages. If an IMAP account is used, then processed messages are moved to a folder named "Processed", invalid messages (where an exception occurred while handling them) are moved to a folder named "Invalid". If POP3 is used then processed/invalid messages are deleted from the account.
Compatibility With Confluence
Installation
See Installing Plugins and Macros
Manual installation for Confluence 2.9 / for Confluence 2.10
Usage
After installing the plugin, click the "Configure" link of the mail2news Job.
There you may
- configure the IMAP(S)/POP3 settings of the mailbox to poll
- define, if gallery macro should be enabled when image attachments are detected
- configure SMTP server for replying error messages back to sender
- directly test the configuration.
You need a dedicated email account for this plugin, preferably one where email address wildcards are supported. GMail for example supports wildcards.
Suppose the account you are using has the address "wiki@domain.net", then you configure the plugin with the relevant settings (mail host, username, password, etc.). By sending email to "wiki+spacekey@domain.net" an email will be published as a news entry in the Space with the space key "spacekey".
For example: An email to the address "wiki+internal@domain.net" would be published in the space with the spacekey "internal".
Important 1: This only works if your email provider really supports wildcards in email addresses!
Important 2: You have to use the spacekey, not the spacename!
If you are using an email address without wildcards, then the plugin will just check if there exists a space where the key is equal to the local part of the email address.
Examples
Version History
1.7 Bugfix: An unknown character set in an email no longer prevents an email from being published.
Feature enhancement: Error message is sent to originator if plugin is unable to process mail. Possibility to automatically enable gallery macro if immage-attachement is detected.
1.2 Bugfix: An unknown character set in an email no longer prevents an email from being published. Instead the plugin does a fallback to the default character set, although this can lead to some wrongly encoded characters.
1.1 Bugfix: When multiple To-addresses were defined the plugin would only work if the first address was the one with the embedded space-key. Now the plugin just iterates over all addresses (including CC-addresses) until it finds one where it can extract an existing space key.
1.0 Initial version
Sponsored by Stimmt.
Open Issues
- The size of the attachments is not always correct. It is sometimes slightly more than the true size.
- Self-signed certificates for SSL connections are not supported. Or in that case the certificate probably has to be installed in the certificate store of Confluence.
- The plugin has issues with some IMAP mail servers (it seems UW-IMAP is a candidate), sometimes it cannot reliably determine the root folder to create the necessary folders.
- The Enable Gallery Macro functionality yields in an error in certain environments
Screenshots
Screenshots |
|---|
| There are no images attached to this page. |
Download History


Comments (11)
Mar 06, 2008
Chris Harland says:
Hi, I have tried using the plugin and it doesn't seem to be posting the ne...Hi,
I have tried using the plugin and it doesn't seem to be posting the news from the email. I have a gmail account setup for pop3 and it tests ok. The emails are also being removed from the account (I find them in trash). However nothing appears in the news of the space.
In the confluence log file I find these entries:-
008-03-01 08:35:02,208 ERROR [DefaultQuartzScheduler_Worker-0] [confluence.plugin.mail2news.Mail2NewsJob] doExecute Error while getting content of message: "US-ASCII"
java.io.UnsupportedEncodingException: "US-ASCII"
at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)
at java.io.InputStreamReader.(InputStreamReader.java:83)
at ch.liip.confluence.plugin.mail2news.Mail2NewsJob.handlePart(Mail2NewsJob.java:653)
at ch.liip.confluence.plugin.mail2news.Mail2NewsJob.handleMultipart(Mail2NewsJob.java:618)
at ch.liip.confluence.plugin.mail2news.Mail2NewsJob.doExecute(Mail2NewsJob.java:504)
at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Is this a bug or am I doing something wrong?
Chris
Mar 06, 2008
Chris Harland says:
Two more issues added to issue tracking (not sure whether anyone looks at Jira i...Two more issues added to issue tracking (not sure whether anyone looks at Jira issues or here for feedback)
May 15, 2008
Jon Nermut says:
quick question: what does the plugin do with conversations? eg if the subject is...quick question: what does the plugin do with conversations? eg if the subject is RE: blah, ideal behaviour would be to add a comment on to an existing news item (if it exists)
May 15, 2008
Jon Nermut says:
feature request: support html emails properly. All you have to do is wrap the co...feature request: support html emails properly. All you have to do is wrap the content in a {html}...{html} tag!
Sep 05, 2008
Mark Salamon says:
Will this plugin allow you to create pages via email in a given space, or only "...Will this plugin allow you to create pages via email in a given space, or only "news"?
Oct 29, 2008
Lukas Karrer says:
you can only create newsyou can only create news
Nov 23, 2008
Siddhartha Shankar says:
Can someone help me? I need to use this plugin urgently, but I am having the pr...Can someone help me?
I need to use this plugin urgently, but I am having the problem of anonymous post. I need to create post by email (but not as anonymous post). Is there work around to fix this problem.
Is it possible to fake it. Lets say, I have one space for only one user. And I know all posts in that space is by one specific user only. Will it be possible do it?
Or any other way??? Its urgent...
Apr 20
Maggie Soffer says:
With Confluence v.2.10.1 you cannot save your configuration string. Are there an...With Confluence v.2.10.1 you cannot save your configuration string. Are there any plans to fix this? This is a really useful plugin which we had been using regularly w/ version 2.7
Apr 20
Liip AG says:
Please try the new version 1.7 of the plugin, released just now.Please try the new version 1.7 of the plugin, released just now.
Apr 20
Maggie Soffer says:
Thank you so much. It works again!Thank you so much. It works again!
yesterday at 11:00:52
Naima Shaikh says:
Hi, I'm having problems getting the plugin to work with Confluence 3.0. ...Hi,
I'm having problems getting the plugin to work with Confluence 3.0.
Any plans for an update of the plugin to work with 3.0?
Thank you!