cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure Email to the user

riagarwal
Champ in-the-making
Champ in-the-making
Hi,

I have seen that in most of the topics that there is an option to Notify the user by Emai. However that otpion is not working. even if I select Yes, notify..there is no email being send or delivered..

Please suggest as to what has to be done to implement the email.

Thanks,
Riagarwal
7 REPLIES 7

jm_pascal
Star Contributor
Star Contributor
hey,

Do you change your repository.properties for email configuration ?

http://wiki.alfresco.com/wiki/E-mail_Configuration

Regards,

riagarwal
Champ in-the-making
Champ in-the-making
Hi, I am using Alfresco 2.1 Release.. where do i find the file reporsitory to change the mail configuration..

Thanks

jm_pascal
Star Contributor
Star Contributor
You can find this file at tomcat\webapps\alfresco\WEB-INF\classes\alfresco\repository.properties

For informaiton : another way to do this, is to create a file called custom-repository.properties
in your folder tomcat\shared\classes\alfresco\extension
with this snippet of code


################################################################################
# Email configuration                                                          #
################################################################################
mail.host=<your host>
mail.port=25
mail.username=<your username>
mail.password=<your password>
# Set this value to UTF-8 or similar for encoding of email messages as required
mail.encoding=UTF-8
# Set this value to 7bit or similar for Asian encoding of email headers as required
mail.header=
mail.from.default=alfresco@alfresco.org

Regards;

riagarwal
Champ in-the-making
Champ in-the-making
Hi,

I did the same thing. i copied the code and pasted in the custom-repository.properties..

but i am not getting any emails what ever i do..

Please provide me with some more suggestion or steps to do it correctly..

i have done this and then restarted the alfresco server to ensure that the changes are implemented.. Then i made up an content rule that while adding a jpeg a email should be trigged to me. But nothing happens…

################################################################################
# Email configuration                                                          #
################################################################################
mail.host=<IP Address of the email exchnage>
mail.port=25
mail.username=my complete email address riagarwal@abc.com
mail.password=my machine Login Password and also tried with my Email Login Password

# Set this value to UTF-8 or similar for encoding of email messages as required
mail.encoding=UTF-8
# Set this value to 7bit or similar for Asian encoding of email headers as required
mail.header= ????? What to do here.
mail.from.default=alfresco@alfresco.org

riagarwal
Champ in-the-making
Champ in-the-making
Thanks, it worked fine now.. Now, i am able to send the email to the users..

Thanks a ton..

jm_pascal
Star Contributor
Star Contributor
No pb!  :wink: