Facing timout issue while sending email with attachment

Facing timout issue while sending email with attachment

  
hi
i am facing timeout issue while sending mail with attachement. in this process i have collect data from outsystems tables and also fetching some information from Active directory so it was taking time to execute (in excel; attachment). please see the error log in below screen shot. I have set timeout in minutes 999. please help me on that.

Hi Pranav,

Instead of doing the heavy calculations and work inside the email preparation why don't you gather the information and create the email and store it in the database temporarily before sending the email.
Then pass the Id to the email and in the preparation just fetch it from the database.

Regards,
João Rosado
thanks João Rosado.