Here is what we want to achieve (in Composer unfortunately):

  • Check if the total size of the attached files is under or over 10MB
  • Trigger a different delivery code depending on the true/false response

This is because our mail server blocks emails over 15MB so we want to deliver submission emails under that size to a mailbox with attachments and without attachments if over (and send PDF and attachments to a directory).

Any tips on how to implement this?

    CommentAdd your comment...