cancel
Showing results for 
Search instead for 
Did you mean: 

Send Email to upload documents into Alfresco

sselvan
Champ in-the-making
Champ in-the-making
Is there anyway I can send an email to a particular EmailId, which will eventually post the document into the repository?

I use a similar feature in blogger/blogspot and wordpress for my blogs.
I can send to sselvan.<blogname>@blogger.com, which will eventually become a blog post with subject of the email as topic of the blog and body of the email becomes content of the Blog post.

Similarly, can I send an email with file attachments and those documents will become uploaded to Alfresco or into Share?

Please advice. Any help is appreciated!
6 REPLIES 6

spdy1997
Champ in-the-making
Champ in-the-making
i would also be interested in this feature if it's available.

sselvan
Champ in-the-making
Champ in-the-making
Based on my research on this - I don't see a feature existing today in Alfresco or Share for free.

However, what I found is there is a whole different integration available for this purpose -
http://www.alfresco.com/partners/showcase/opsera/opsmailmanager/

If it is a really important feature, then this is something to be considered and way to go.

Hopefully, someone would develop in Community for FREE and post a solution around this.

newmember
Champ in-the-making
Champ in-the-making
Go to the space where you want your emails to go in explorer.

Select "More Actions""
Select "View Details"
Select "Run Action"
Select Action "Add Aspect to item"
Next
Select "Email Alias"
Next
Finish

Under properties you will see "Email Alias" now
Click the paper and pencil to modify
At the bottom add the alias for the space like "inbox" (alias is case sensitive)
Select OK

Let me know how it goes.

Read this and check the permission on the space:
http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration#Groups_and_Permissions


Edit the alfresco-global.properties file
You will have to customize the setting for yourself.

###############################
## Common Alfresco Properties #
###############################

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
email.inbound.enabled=true

# Email Server properties
#————-
email.server.enabled=true
email.server.port=25
email.server.domain=alfresco.com
email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#  .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
email.server.allowed.senders=.*


Then restart Alfresco.
You have to give alfresco a dns name that has a MX resolve to it.
Like    xxx.xxx.xxx.xxx   MX 10  alfresco.domain.com
Then you can send an email to your alfresco like  inbox@alfresco.domain.com


To test smtp is running
telnet to alfresco.domain.com port 25
you should see "alfresco.com"

Test sending an email using an email client like thunderbird.
In thunderbird, set up an smtp server with the same ip address as alfresco.
Create an email addressed to inbox@alfresco.domain.com  and send it to alfresco via the new smtp server, don't use your usual smtp server.
You should see your email get sent and show up in the space with the alias "inbox"

sselvan
Champ in-the-making
Champ in-the-making
@newmember

That is a great explanation!

I could not understand the following - could you please explain a little bit more - (please ignore my ignorance!)
You have to give alfresco a dns name that has a MX resolve to it.
Like xxx.xxx.xxx.xxx MX 10 alfresco.domain.com

newmember
Champ in-the-making
Champ in-the-making
You need to resolve the host name to an email server.
So in your DNS you need to have the IP address resolve back to the alfresco.

If you are on linux you would type:

dig @dns.server.ipaddress  alfresco.domain.com MX

You should see the IP address of your alfresco.