Sending email confirmation using codeunit 400

nbangaza
Member Posts: 30
HI Everyone,
I created a button 'Email Order'on the sales order form to automatically send an email confirmation to a customer. I am currently using Nav W1(SP1 5.0) and Outlook 2007. I used codeunit 400 to do this function because our users access Navision through Terminal Server services and with codeunit 397 didnt work when i tested it on the TS.
My question is, is it possible when using codeunit 400 not to have the mail send automatically but to save it in drafts or pop up when you click on the button 'Email Order' so that the users can make adjustments if they need to?
for example when using codeunit 397 you can say
MailSent := Mail.NewMessage(Customer."E-Mail",'','subject,body,attachment,TRUE);
and specify TRUE or FALSE if you want the mail to automatically be sent
Regards,
N
I created a button 'Email Order'on the sales order form to automatically send an email confirmation to a customer. I am currently using Nav W1(SP1 5.0) and Outlook 2007. I used codeunit 400 to do this function because our users access Navision through Terminal Server services and with codeunit 397 didnt work when i tested it on the TS.
My question is, is it possible when using codeunit 400 not to have the mail send automatically but to save it in drafts or pop up when you click on the button 'Email Order' so that the users can make adjustments if they need to?
for example when using codeunit 397 you can say
MailSent := Mail.NewMessage(Customer."E-Mail",'','subject,body,attachment,TRUE);
and specify TRUE or FALSE if you want the mail to automatically be sent
Regards,
N
0
Comments
-
You can use CU397. The only thing every user working on a TS needs to do is run Outlook once on the TS to generate a MAPI profile on the TS (and have TS windows profiles set to roaming of course).Frank Dickschat
FD Consulting0
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