Email Integration

hardikithardikit Member Posts: 20
Hi All,

I want to send email from Navision to Microsoft Outlook Express with a file attachment. how can i do it?

i have used Mail codeunit and MAPIHandler Automation service but that is compatible only with Microsoft Office Outlook.

I am using Navision 4.0 SP3. Please reply its urgent

Regards
Navision Developer
Regards
HardikNav

Comments

  • navuser1navuser1 Member Posts: 1,329
    Search the forum with the word "Mail".
    I hope you will get the support.
    Now or Never
  • hardikithardikit Member Posts: 20
    I have checked that but not getting specific answer, if someone can help.

    Its urgent

    Regards
    Navision Developer
    Regards
    HardikNav
  • Boom-BoxBoom-Box Member Posts: 27
    hi!
    just use codeunit 'Mail'.
      IF tmpContact."E-Mail" <> '' THEN BEGIN
         mto := tmpContact."E-Mail";
         text := EmailText;
         subj := Text50000 ;
         attach := 'c:\MAEFax.PDF';
         MailSent := mail.NewMessage(mto,cc,subj,text,attach,FALSE);
       END ELSE MESSAGE(Text001, tmpContact."No.");
    

    did you use it this way?
    why didn't it work?

    best regards,
    Miguel Andrade
  • darshanmdarshanm Member Posts: 280
    Namaste!

    You need to use Offie Outlook2003 as a default mail client on user machine
    Darshan Mungekar
    Senior Consultan
  • dspasovdspasov Member Posts: 33
    We use sendmail.exe
    It works prety good.
Sign In or Register to comment.