I need some explanation of CodeUnit 397

srinivas.chittemsrinivas.chittem Member Posts: 142
Hai

I need a custmisation , reports are send through mail... I found in Navision CodeUnit 397 (MAIL) ..But i Can't understand...

please help me through an example...how to use that CodeUnit
Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    You could search for mail-functions that are used in other standard NAV objects and take a look there how the codeunit is used.
    For example on form 1 at the field E-mail the function NewMessage is being used.

    And in codeunit 5052 you'll find the use of NewMessage with an attachment.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • AlagarAlagar Member Posts: 100
    Dear All,
    I need Clear Explanation of Codeunit 397.Please Help..
  • tinoruijstinoruijs Member Posts: 1,226
    Alagar wrote:
    Dear All,
    I need Clear Explanation of Codeunit 397.Please Help..

    It is used for sending mail.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • kinekine Member Posts: 12,562
    I need Clear Explanation of Codeunit 397.Please Help..

    Have you tried to read the function names and parameters which they need and do you understand them? If not, ask us what is doing this and this function, but do not wait for description of clear functionality from us. There is no detailed description of this codeunit and nobody needed it before. There are few functions which will create the mail, add mail lines, attachments and send the mail if you want. All is clear from the name and parameters... Try it, know that you can make it yourselfs... 8)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.