Reading data from e-mail and writing it in database

drago82drago82 Member Posts: 6
edited 2011-07-25 in NAV Three Tier
Hi guys,
I'm completely new to Navision and one of my first tasks is to write a codeunit that reads mail's from Outlook 2010 using automation. The general idea is as follows:

The mail in specific form is received in outlook, Navision (Dynamics NAV 2009) reads data from mail (both subject and body) and writes it in NAV's SQLServer database as a new record in a table.

Can you please help a newbie jumpstart with some basic explanation of the proces and please post some code example.

Thanks!

Comments

  • pdjpdj Member Posts: 643
    I'll suggest you to take a look at the E-Mail Logging granule of NAV. It might fulfill your requirements directly or the two codeunits can be customized or used as inspiration to your own solution.
    Regards
    Peter
  • drago82drago82 Member Posts: 6
    Thanks pdj! I'll try that when I get the chance. Currently I have some other, more urgent asignments.
Sign In or Register to comment.