cancel
Showing results for 
Search instead for 
Did you mean: 

how can i activate email function of ACM

ranjeet
Champ in-the-making
Champ in-the-making
hi,
I found dat email sending is not woring for CMS2.0. Can ny1 tell me hw it can be modified?
Kelvin help ..
9 REPLIES 9

bsawler
Champ in-the-making
Champ in-the-making
update the email settings located in the "repository.properties" file.

bsawler
Champ in-the-making
Champ in-the-making
update the email settings located in the "repository.properties" file.

ranjeet
Champ in-the-making
Champ in-the-making
could u please tell wt changes will i have to do?

bsawler
Champ in-the-making
Champ in-the-making
# Email configuration
mail.host=
mail.port=25
mail.username=
mail.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=

bsawler
Champ in-the-making
Champ in-the-making
I am having real difficulties posting on this forum today.

The following code is in the file, and you just need to update with your mail settings.


# Email configuration
mail.host=
mail.port=25
mail.username=
mail.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=

ranjeet
Champ in-the-making
Champ in-the-making
thanx for reply. i updated dat, but still not able to send mail. Smiley Sad where dis mail will go? in user's email space or user's email ID(like ranjeet4u@gmail.com).

bsawler
Champ in-the-making
Champ in-the-making
The email will be sent to the users email address that was specified in the user setup. 
Are you getting an errors in the alfresco log.  If not, then I would suggest troubleshooting the mail configuration.  I tried setting it up with my my smtp/pop settings of gmail, and enabled this in gmail, but I could not get it to work, so I used the settings from the ISP and works fine.  You will need to stop and start alfresco after making your changes.

robbiefpi
Champ in-the-making
Champ in-the-making
Hello to all,
I tried to configure email params in a distinct file properties as like mytestemail.properties, that I saved in the extension dir.

I think that it will override the email settings (dummy ) of the repository.properties.

Do Emails can be send as a notification? Or is it necessary JVM email server as I read in the wiki?


does email service work in Alfresco? Is it possible to have a clear idea if this service is working or not?

I defined a user in the space and create an action to send email to this user with my params.

I obtaneid this error






INFO: Server startup in 49125 ms
12:54:41,671 ERROR [action.executer.MailActionExecuter] Failed to send email to
[robbiefpi]
org.springframework.mail.MailSendException; nested exceptions (0) are:
Caused by:
javax.mail.MessagingException: Exception reading response;
  nested exception is:
        java.net.SocketException: Connection reset
        at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1349)
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1191)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:31
1)
        at javax.mail.Service.connect(Service.java:233)
        at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailS
enderImpl.java:382)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen
derImpl.java:335)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen
derImpl.java:350)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSen
derImpl.java:339)
        at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(Mail
ActionExecuter.java:336)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(
ActionExecuterAbstractBase.java:120)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(Acti
onServiceImpl.java:537)
        at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl
(CompositeActionExecuter.java:72)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(
ActionExecuterAbstractBase.java:120)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(Acti
onServiceImpl.java:537)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionSe
rviceImpl.java:472)
        at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServic
eImpl.java:399)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterc
eptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)

Please anyone give me an idea?
thanks
Rob

shmc
Champ in-the-making
Champ in-the-making
Hi,
You can override the smtp configuration in the file custom_repository.properties in the extension directory.

The default from email change it in the web-client-config-custom.xml file.

Also if you have send mail rules configured you have to recreate it because they'll associated with the default

Hope this info helps you.

Sergio
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.