Mailing using Codeunit 397 getting Boolean Error
company
Member Posts: 89
Iam using Nav SP1 and Outlook 2003.
REPORT.SAVEASHTML(14005053,'d:\file2.html',TRUE,"Sales Invoice Header");
Mail.NewMessage('aaa@bbb.com',' ',' ','d:\file2.html',TRUE);
Mail.Send
Sending Mail using Mail Codeunit Iam getting error "Boolean must not be blank" "Boolean is missing or invalid in the expression"
getting in Mail code unit at MailSent := OSendMail.Send;
Wht could be the problem?
REPORT.SAVEASHTML(14005053,'d:\file2.html',TRUE,"Sales Invoice Header");
Mail.NewMessage('aaa@bbb.com',' ',' ','d:\file2.html',TRUE);
Mail.Send
Sending Mail using Mail Codeunit Iam getting error "Boolean must not be blank" "Boolean is missing or invalid in the expression"
getting in Mail code unit at MailSent := OSendMail.Send;
Wht could be the problem?
0
Comments
-
-
REPORT.SAVEASHTML(14005053,'d:\file2.html',FALSE,"Sales Invoice Header"); Mail.NewMessage('aaa@bbb.com','','','','d:\file2.html',FALSE); Mail.Send;
Iam able to send mail with this code automatically when outlook window is opened. If I haven't open my outlook the mail is not going automatically with this code, it is saving in draft of outlook. Is it necessary to open the Outlook and keeping beside navision screen?
Onemore even Iam able to send still Iam getting message "Boolean must not be blank" and "Boolean is missing or invalid in the expression".0 -
May be another suggestion: use SMTP-ocx on this site ...
http://www.mibuso.com/dlinfo.asp?FileID=3660 -
There were some problems with the .dll in SP2 and may be that it is same in SP1. Try to use OHandler.dll from 4.00 or SP3.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

