Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39116

Notification results in SMTP error "message file too big"

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 12.0
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-1469

      Description

      To replicate:

      1) Create site as instructor and set up a Forum with a thread
      2) Turn Forum -> Notifications on
      3) Login as student and post thread with 50mb of attachments

      Stack trace from logs:

      2016-09-18 15:55:16,172 ERROR http-apr-8366-exec-7 org.sakaiproject.email.impl.BasicEmailService - Email.sendMail: exception: 552 5.3.4 Error: message file too big

      com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big

      at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114)
      at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1900)
      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1122)
      at org.sakaiproject.email.impl.BasicEmailService.sendMessageAndLog(BasicEmailService.java:1426)
      at org.sakaiproject.email.impl.BasicEmailService.sendMailMessagingException(BasicEmailService.java:625)
      at org.sakaiproject.email.impl.BasicEmailService.send(BasicEmailService.java:1132)
      at org.sakaiproject.email.impl.BasicEmailService.send(BasicEmailService.java:1023)
      at org.sakaiproject.tool.messageforums.ForumsEmailService.send(ForumsEmailService.java:230)
      at org.sakaiproject.tool.messageforums.DiscussionForumTool.sendEmailNotification(DiscussionForumTool.java:8320)
      at org.sakaiproject.tool.messageforums.DiscussionForumTool.processDfMsgPost(DiscussionForumTool.java:3848)
      at sun.reflect.GeneratedMethodAccessor6363.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
      at javax.faces.component.UICommand.broadcast(UICommand.java:332)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:406)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jonespm Matthew Jones
                Reporter:
                ottenhoff Sam Ottenhoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code