How to send an email from AL in Business Central

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 9

  • @EdodeRoo
    @EdodeRoo Рік тому

    Splendid... I needed this video 3 weeks ago ... but it's still not too late ... thanks a lot

  • @marctenadelafuente2677
    @marctenadelafuente2677 Рік тому

    That seems really simple, is there any way to attach a word template to the email from the code? I would like my email to open in the editor for a custom page, and i want to access a word template. I created a template, but cant access it from the email editor. Thanks!

  • @shahique5233
    @shahique5233 4 місяці тому

    Hi Eric sir....I got one strange issue....I wrote a code to send statements of account report in mail to different customers of my clien.That code runs in a loop and sends mail successfully with report attached in PDF.But the main issue is that pdf size keep increasing after each mail...and later after around 200 mail.....each PDF becomes 35 mb in size ... although have only 1 page inside.pls let me know what wrong I am doing...😢😢😢

    • @Hougaard
      @Hougaard  4 місяці тому

      It's your tempblob that you don't clear() inside the loop, so you just keep adding t9 it.

    • @shahique5233
      @shahique5233 4 місяці тому

      @@Hougaard tempblob is codeunit... how-to clear sir..it's not variable

    • @Hougaard
      @Hougaard  4 місяці тому

      @shahique5233 clear(name of codeunit) works

    • @shahique5233
      @shahique5233 4 місяці тому

      @@Hougaard let me try...

    • @shahique5233
      @shahique5233 4 місяці тому

      @@Hougaard thanks sir ..it worked.... greatly appreciate Ur help...💐💐💐