Microsoft Navision Mail - Line breaks in body text
tomad
Member Posts: 12
Hi
Does anyone know if it is possible to insert Line breaks using AppendBody in the Microsoft.Navision.Mail.dll?
Does anyone know if it is possible to insert Line breaks using AppendBody in the Microsoft.Navision.Mail.dll?
Regards
/tomad
/tomad
0
Comments
-
have you tried format(CHR(10)) + format(CHR(13)) ?0
-
if your search the forum for Line Break and MAIL u will find the solution 8Like Carriage return char sign or Line feed char sign.)
regardsDo you make it right, it works too!0 -
Thanks both of you - that did the trick. I actually did search the forum first, but missed the old topics.Regards
/tomad0 -
you are welcome and good luck with mailing.0
-
I did it this way in NAV 2013:
(MailCD = Variable - Codeunit Mail.)
MailCD.AddBodyline('Text1');
MailCD.AddBodyline(FORMAT('<br>'));
MailCD.AddBodyline('Text2');
MailCD.AddBodyline(FORMAT('<br>'));
MailCD.AddBodyline('Text3');
MailCD.AddBodyline(FORMAT('<br>'));
MailCD.AddBodyline('Text4');
works like a charm with HTML format TRUE.
I think rest of the HTML tags can also be used like this.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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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
