Outlook integration-more than address one in cc or to

WishmanWishman Member Posts: 36
Hi everybody,

I try to send email calling codeunit 397. I use the newmail function, in the cc or to part, I enter

varTO := ' xxx@hotmail.com; yyy@hotmail.com; zzz@hotmail.com';

just like in outlook, but it doesn't send to anyone. If I enter just one email address, it's ok. By the way, opendialog=false.

I looked at the forums but I couldn't find something like this. Does it have a trick that I can't see? Any information about this, will be appreciated.

Thanx.

Comments

  • PrebenRasmussenPrebenRasmussen Member Posts: 137
    Have you tried using COMMA [,] as delimiter instead? Might be a solution, though I didn't try it.

    Otherwise you will have to use MAPI functions instead.
  • WishmanWishman Member Posts: 36
    In the codeunit 397 MAPI func. are used. And the , doesn't work. It doesn't recognise the email addresses.

    Any other suggestions?
  • PrebenRasmussenPrebenRasmussen Member Posts: 137
    What's the version of your codeunit?
  • WishmanWishman Member Posts: 36
    NAVW13.70
  • PrebenRasmussenPrebenRasmussen Member Posts: 137
    Thought so!

    cu397 is using MAPIHandler, not MAPI.
    MAPIHandler is Navisions wrapper of MAPI functions.

    Instead use "Microsoft MAPI Messages Control" where you get access to adding several recipients. It's an OCX.
  • WishmanWishman Member Posts: 36
    Thanx,

    I tried it but my license isn't enough for, I contacted Microsoft.
  • dennis_decoenedennis_decoene Member Posts: 13
    Wishman wrote:
    Thanx,

    I tried it but my license isn't enough for, I contacted Microsoft.

    Normally, installing visual studio (.NET) should allow you to use it. Remember: This is only needed at development time. Users can allways use this OCX. The OCX may also be redistributed.
    I don't need PGP, my handwriting suffices.
Sign In or Register to comment.