Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
i'm trying to send an email with a list of invoices.
I need to insert a newline for each invoice number.
I already tried \n and \r , but they don't seem to work. The string actually contains the carriage return,
but the email body has got now carriage return once sent.
Is there a particular way to do so?
Thank you in advance.
try setting email format as html and then instead of \n\r put <br> .
it worked like a charm!
I have a same requirement. Can you please let me know how and where to set the format as html in code ?
It depends on which method you are using to send e-mails, since there are many.
Some of them are covered in older posts, see here:
I don't think this question was about code, so you likely have a different problem (and what you described in your other thread is about XML, which is something completely different).
If you're really trying to create emails in code, please create a new thread and explain it there, rather than trying to change the topic of this thread.
That was a different requirement I explained in other thread which is about showing each error message on a separate line in an XML file. There is another requirement which is similar to this, where I need to send the email to specified email address contains error messages and each error message needs to be shown on separate line.
Can you please let me know which method should I use ? I am using SysEmailSystemTable::sendMail method to send email in AX 2009.
Please create a new thread for your question about how to send e-mails, give it appropriate title and tags and explain your problem there. Please don't change the topic of existing threads. Also notice that this thread has already been answered (years ago).
Business Applications communities