AnsweredAssumed Answered

Mail sent after migration

Question asked by dranakan on Feb 17, 2012
Latest reply on Feb 17, 2012 by dranakan
Hello,

I'am doing a test migration (from 3.4d -> 4.0d under Rhel5.6/Mysql). I don't want that the users get some mails and I see during the startup than Alfresco wants to send some mails.


2012-02-17 11:07:44,298  ERROR [action.executer.MailActionExecuter] [DefaultScheduler_Worker-4] Failed to send email to abc@abc.ch
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Unknown SMTP host: smtp.example.com;
  nested exception is:
        java.net.UnknownHostException: smtp.example.com. Failed messages: javax.mail.MessagingException: Unknown SMTP host: smtp.example.com;
  nested exception is:
        java.net.UnknownHostException: smtp.example.com; message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: Unknown SMTP host: smtp.example.com;
  nested exception is:
        java.net.UnknownHostException: smtp.example.com
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
        at javax.mail.Service.connect(Service.java:275)
        at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:355)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)
        at org.alfresco.repo.action.executer.MailActionExecuter.prepareAndSendEmail(MailActionExecuter.java:574)
        at org.alfresco.repo.action.executer.MailAc


How can I know how much mails will be send ? How can Idelete these mails before setting the mail server ?

Thank you.

Outcomes