cancel
Showing results for 
Search instead for 
Did you mean: 

Defficiencies in 'Email space users'

tdombos
Champ in-the-making
Champ in-the-making
I would really like to see the following things happen with the 'Email space users' action:

1. The From field of the email sent out to be the name and email address of the user who initiates the sending.
2. Optionally send a copy to the sender's email address as well.

How hard would it be to implement this? Any suggestions on where to start?
3 REPLIES 3

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

It's not hard. You just need to extend this action. Just by looking at the UI I can tell you that you need to:

1- Change jsp/actions/mail.jsp to include a checkbox to select whether or not to send e-mail to self.
2- Extend org.alfresco.web.bean.users.EmailSpaceUsersDialog to change what goes in the from field and send email to self if check box is selected.
3- Don't forget to override the manged bean backing this dialog. The managed bean is called EmailSpaceUsersDialog and is defined in faces-config-beans.xml.

You might have to do a few more things but this should get you started.

Hope this helps,

–Alaaeldin

tdombos
Champ in-the-making
Champ in-the-making
I am by no means a Java expert. I managed to figure out what goes on in the code and how to change it, but how do I push those changes to my compiled alfresco? Do I have to recompile the whole Alfresco war etc. to implement this small change?

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

You should deploy your extension as an AMP file.

Regards,

–Alaaeldin