cancel
Showing results for 
Search instead for 
Did you mean: 

email attachments

califa198
Champ in-the-making
Champ in-the-making
hello,

I am using Alfresco 2.1, and i was wondering if there is a way to send emails with attachments included on them. I am guessing it could be done programatically, but how would i do that?

Thanks in advance
5 REPLIES 5

kayan
Champ in-the-making
Champ in-the-making
Hi,

I believe, you are talking about inbound email functionality, if this is true you can get this feature on Alfresco 2.2 , where you can send email with attachment to a  folder. See the following links

http://wiki.alfresco.com/wiki/Email_Server_Configuration

I don't see the outbound email functionality where you can send mail with attachment directly from alfresco.

Thanks.

dgenard
Champ on-the-rise
Champ on-the-rise
You might use such URLs to create a new email with an attached document
mailto:?subject=the subject&cc=&body=This is the body text&attachment=<CIFS_PATH_TO_ATTACHED_DOCUMENT>
but this will work correctly only from machines equipped with Outlook or Outlook Express.
In practice, only some versions of Outlook/Outlook Express support these URLs correclty, making this approach not very reliable.

An extension on the forge might help as well : http://forge.alfresco.com/projects/mailattach/

Denis

trialot
Champ in-the-making
Champ in-the-making
I am having a look at mail attach action.

Somehow it seems not to be possible to build it properly with ant on my machine.

Some error in the source code is likely. However, i am a newbie in ant areas. Can someone have a look and, when succeeding, publish the resulting jar file?

Would be nice.

dinger
Champ in-the-making
Champ in-the-making
What error do you get with Ant?

Rob

jglezar
Champ in-the-making
Champ in-the-making
I've succesfully built the jar file, but when I try to execute the actio, I get the following error:

The requested resource (/alfresco/jsp/actions/mail-attach.jsp) is not available.

Where can I get the mail-attach.jsp file?

Thanks,

Javier