Outlook integration-more than address one in cc or to

Wishman
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.
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.
0
Comments
-
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.0 -
In the codeunit 397 MAPI func. are used. And the , doesn't work. It doesn't recognise the email addresses.
Any other suggestions?0 -
What's the version of your codeunit?0
-
NAVW13.700
-
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.0 -
Thanx,
I tried it but my license isn't enough for, I contacted Microsoft.0 -
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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions