NS Outlook Synchronization Handler / OSendMail

Hello,

I want to modify codeunit 397 to automaticly send mail and change the sender.
I put the sender name in SentOnBehalfOfName propertie and leave Osenddialog at true it’s work but if i set to false osenddialog it’s not work (the message is sended with the default user). I dont know how to use these too properties simultaneously.

Regards,

Hi Damien,

Why not use the function CreateMessage in the SMTP codeunit?

Hi,

I want to use Outlook