cancel
Showing results for 
Search instead for 
Did you mean: 

E-mail Notifications

testsubjec
Champ in-the-making
Champ in-the-making
Hi,
I am currently running Alfresco Community 4.2.c x64 on a Windows 2008 Ent R2 Server.

So far I have got just about everything covered, however I am having problems with E-mail Notifications. I have setup my
alfresco-global.properties
accordingly:


### Outbound Email Configuration ###
mail.host=X.X.X.X
mail.port=25
mail.username=XXXXX
mail.password=XXXXX
mail.encoding=UTF-8
mail.from.default=Alfresco@XXXXXXX.com
mail.smtp.auth=true

notification.email.siteinvite=true

### SEND TEST MESSAGE ###
mail.testmessage.send=true
mail.testmessage.to=XXXXX@XXXXX.com
mail.testmessage.subject=Outbound SMTP Test
mail.testmessage.text=The Outbound SMTP email subsystem is working.


However when an Admin comes to Create a New User they do not receive the New User notification. Just to note I receive the Test Message no problems.

Also it would be very helpful if someone could let me know what notifications would be sent out to the user.

Thanks
6 REPLIES 6

muralidharand
Star Contributor
Star Contributor
Hi,
Alfresco will not send any email notifications whenever a new user is created.

muralidharand, Why is this, because there is an e-mail template for new users.

muralidharand
Star Contributor
Star Contributor
When you invite a new user for a site , then  the new user email template will be used.
http://localhost:8080/share/page/site/mysite/invite - Use invite to external user option.

If use http://localhost:8080/share/page/console/admin-console/users#state=panel%3Dcreate, then it will not send any email notification to the user and by default it is disabled. If you've source code, then look at , PersonSerivceImpl.java file.

Thank you for clarification on this and it has helped.

Just on another note, when I use the "Invite to external user option" is there anyway to change the system to use a "." instead of "_" in the username when setting it up??

mrogers
Star Contributor
Star Contributor
yes.     change the "name pattern" for the user name generator.   You will need to do it through a spring over-ride of the nameBasedUserNameGenerator bean.

testsubjec
Champ in-the-making
Champ in-the-making
Could you explain how I would do this??