Memory Leak using TAdvGMail with attachments

After sending an email with 2 attachments using TAdvGMail, I"m experiencing a Memory Leak.

I"m creating the component in code, as per attached code.

Can someone help me?

Thankful.

Email.OAuthGMail.pas (3.9 KB)

Hi,

I was unable to reproduce the issue with the sample code you provided.

Please try the GMailDemo application included with the TMS VCL Cloud Pack. It is working without memory leaks on my side. If the problem still occurs, please provide a ready-to-run test project that demonstrates the issue so I can investigate further. When you send the project, please include:

  • Exact steps to reproduce the problem
  • Delphi and Windows version you’re using