Sending Attachments from Navision
sankar
Member Posts: 79
Hi All,
Could you please let me know how to send more than one attachments from navision by using any code ?
Could you please let me know how to send more than one attachments from navision by using any code ?
Everything is Possible
0
Comments
-
search the forum for "Attachment" then "Attachments" (I think you get different results)
anyway... there will be 2 or 3 pages of posts.
http://www.mibuso.com/forum/search.php0 -
I have tweaked codeunit 397 a bit to do achieve this...
if u want i can send u the code....0 -
Thanks SMK,
Please send me the code and procedures how to sent two attachments..
Thanks in advance....Everything is Possible0 -
Dear Shankar
sending multiple attchements by codeunit 397 is simple
....just do this ....
in cu397 in function NewMessage()....u need to attach 2 more param
1. mltiattach ---- boolean
2. myattachrec --- a record variable of a custom table which will have the path to different attachements.
IF multiattach THEN
Repeat
BSTRConverterAttachFileName.ResetBSTR;
BSTRConverterAttachFileName.AppendNextStringPortion(myattachrec.filepath);
OAttachments := OSendMail.Attachments;
OAttachment := OAttachments.Add(BSTRConverterAttachFileName);
Until myattachrec.next = 0;
Hope u will take the clue ...and can create the custom table....
If u stiil need more clarification ....then i will send u the fob.0 -
Dear smk,
Thanks for the reply...
I have small query.. How to declare BSTRConverterAttachFileName ?
If possible please send me the fob..
Many thanks SMK... Thanks again.Everything is Possible0 -
Dear Sankar
I hope you are using Nav ver 4.0.....
If so then you need not declare BSTRConverterAttachfilename because
it is already declared in C/AL global.
the type is Automation and subtype is 'Navision Attain Hash 1.0'.BSTRConverter.0 -
Dear SMK,
I am using navision 3.7. Is this automation is available in 3.7 ? Kindly reply...Everything is Possible0 -
Is it possible for you to send the fob or send the text of the code to me including the table details..
Thanks in advance SMK..Everything is Possible0
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
- 322 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