How to change default email font set to Times New Roman.
gattonero
Member Posts: 9
Hello Everybody,
When we send an email from NAV (contacts), it creates an email with the font set to Times New Roman.
How do I go about setting the font to something else, say Arial and 0pt ?
Thanks in advance for any assistance.
PS. We use Outlook and Navision 2009 R2
Best regards
When we send an email from NAV (contacts), it creates an email with the font set to Times New Roman.
How do I go about setting the font to something else, say Arial and 0pt ?
Thanks in advance for any assistance.
PS. We use Outlook and Navision 2009 R2
Best regards
0
Comments
-
I think you need to wrap your e-mail body into html tag <P font=helvetica, style=bold> email body </p>.
something like this example. Do not forget to switch smtpmail automation to html mode.Line[1] := '<html xmlns="http://www.w3.org/1999/xhtml" > '; Line[2] := '<p style="font-family:verdana;color:#636163;font-size:12px">'; Line[3] := '</p>'; Line[4] := '</html>'; SMTPMail.CreateMessage( TextFrom, //SenderName EmailFrom, //SenderAddress e-mail, //Recipients TextLine[1], //Subject '', //Body TRUE // HtmlFormatted ); SMTPMail.AppendBody(Line[1]); SMTPMail.AppendBody(Line[2]); SMTPMail.AppendBody(TextLine[1]); SMTPMail.AppendBody(Line[3]); SMTPMail.AppendBody(Line[4]); SMTPMail.Send();0 -
Hi,
could you please tell me, where I have to change and put this code you send me?
Thanks a lot0 -
Somewhere in mail codeunit I guess
Sorry, but I do not writing any code for free
I can give you an idea, but you need to write your own code by yourself.
Normally, I would charge hour for this work - so no reason to do it free
0 -
Thanks for Idea
I'll check it. 0
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
- 323 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