AnsweredAssumed Answered

configuration e-mail

Question asked by kawther on Jan 23, 2017
Latest reply on Jan 23, 2017 by kawther

salut tout le monde,

j'ai un probleme avec la configuration du mail sous alfresco 5.0.d

j'ai mis les lignes suivants dans: C:\Alfresco\tomcat\shared\classes\alfresco-global.properties

 

mail.host=smtp.gmail.com
mail.port=465
mail.username=user@gmail.com
mail.password=password
mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true

mail.encoding=UTF-8
mail.header=test

 

lors de la notification j'ai toujours le message suivant dans le log:

 

ERROR [action.executer.MailActionExecuter] [mailAsyncAction1] Failed to send email to [GROUP_responsable, admin] : org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1;
  nested exception is:
    java.net.UnknownHostException: smtp.gmail.com. Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1;
  nested exception is:
    java.net.UnknownHostException: smtp.gmail.com; message exceptions (1) are:
Failed message 1: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1;
  nested exception is:
    java.net.UnknownHostException: smtp.gmail.com

 

 

sachant qu'il y a un firewall dans mon reseau 

SVP , quelqu'un peut il me guider

Outcomes