hi
i can mail using Codeunit 397 Mail . can any one help me how to attach the and text document to it
hi
i can mail using Codeunit 397 Mail . can any one help me how to attach the and text document to it
You can look at the AddAttachment function in Codeunit 400 -SMTP Mail…
Hi,
Using codeunit 397 is quite easy. Declare a variable type codeunit for codeunit 397 and then call the NewMessage function.
The agrument are
ToName (Text 80) - Email address to send
CCName (Text 80) - CC Email address
Subject (Text 260) - Subject
Body (Text 260) - Text for the body
AttachFileName (Text 260) - Filename for the attachment
OpenDialog (Boolean) - TRUE/FALSE to launch outlook before sending