Sending mail - codeunit 397 or Outlook automation objects

Hello,

I have been reading the posts about sending mails from Outlook, and as it seems, that I can either

  1. use the NewMessage function in codeunit 397 or
  2. I can declare the Outlook automation objects used in codeunit 397 (‘NS Outlook Synchronization Handler’.OApplication) directly in my own codeunit?

Which of the two options is the best?
Is it possible to attach more than one file if I use the first option?

Thanks in advance!

I personally built my own Mail Codeunit that uses the Outlook automation objects directly. It gives me a lot more control over exactly what I want to do.

I descided to use option 2.