Email Interaction and Attachment - NAV 5.01
SYLV1G
Member Posts: 93
Hello,
I would like to know if it is possible to send an email through an interaction with an attached document such as a pdf and in the same time a text in the body.
I tried but i did not succeed :
I sent mails with a body but not attachement or mails with an attachement but no body :-(
Thanks in advance for your help
SG
I would like to know if it is possible to send an email through an interaction with an attached document such as a pdf and in the same time a text in the body.
I tried but i did not succeed :
I sent mails with a body but not attachement or mails with an attachement but no body :-(
Thanks in advance for your help
SG
0
Comments
-
Hi,
Yes it is possible, we use attachments and bodies in several processes.
In th US, we use the NewMessage function in codeunit 397 Mail.
The first thing I would do would be to get a call to this codeunit to work in a test codeunit.
Just define the parameters, hard code them and call the function.
If this works for you you know it is possible.
We created a new function that took and array of attachments and an array of message bodies so we could send
more than one attachment and longer messages.
hope this helps some
Steve0 -
Hello Steve and thank you for your answer.
If i understand, i must do some modifications. It is not possible with the "standard" ?
Best regards
SG0 -
Hi,
The standard code will do one body and one attachment.
To just test that standard function you need to call it from somewhere and hard code your values.
This will test the standard functionality.
Steve0 -
Hello,
I am going to test as you suggest.
Best regards
SG0
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