Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Emailing attachment takes too long

Avatar

Level 2

Send Email step is taking too long to send a zip file.

 

Currently, on one of our workflows we have configured so a zip file with attachments files is generated in the payload directory:

 

SebasRios_0-1655916341976.png

The attachments folder contains the attached file it could be a word file or pdf file, and then a zip file is generated with the attached files.

 

In the workflow is configured the send email to send the attachmentFolder.zip and the rejected7835.pdf file, as you can see down below:

SebasRios_1-1655916459935.pngSebasRios_2-1655916471887.png

I initially thought it was a size issue, that the zip could be too large I got the email with the attachment 15 minutes after it was triggered in the send email step, and got a zip file with the size of 13kb.

 

Maybe there are some best practices that I'm missing here to counter the delay time.

1 Accepted Solution

Avatar

Correct answer by
Level 7

You need to validate the series of actions in logs. If you didn't find any meaningful information then enable logs in DEBUG mode to check step by step progress. This was could easily able to figure it out where is the issue.

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @SebasRios ,

It's really hard to answer your question straight away, I would try to figure out where the delay is?

Can you check: 

  • When the email was sent to the mail server
  • When the event that is meant to trigger an email occurred
  • When the mail was processed by the mail server and sent

You can also test with other type of file instead zip, and track the time.

Regards,

Santosh

Avatar

Correct answer by
Level 7

You need to validate the series of actions in logs. If you didn't find any meaningful information then enable logs in DEBUG mode to check step by step progress. This was could easily able to figure it out where is the issue.