DirWiz Logo
Knowledgebase

Article Tags

SMTP Notifications - Attachment size exceeds limit

2017-05-17 19:01:26
Errors Troubleshooting UnitySync 

When enabled, UnitySync SMTP logging notifications may be configured to attach the corresponding log file.

The default size limit is for the attachment is 5mb. If the log file is larger than 5 mb, the attachment will be replaced by a file: noattach.txt which includes the message:
Attachment size exceeds limit

As of UnitySync v2.6.5, you may change the default behavior by manually editing the file \global\smtp.txt

  • The default is 5000000 bytes (5mb) and no setting is present in smtp.txt.

  • To alter the setting you may

    • insert attach-limit=0 to specify no limit on attachment size

    • specify the value you wish as the desired upper limit i.e., for 8 Mb limit:
      attach-limit=8000000

Share this article: Twitter reddit