web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Unexpected line break in workflow email notification

(0) ShareShare
ReportReport
Posted on by 5

Hi

I just experienced a problem with workflow notification. The symptom of this problem is that some hyperlink in the email notification is broken. When we look into the broken link, we found some unexpected %20 in the URL. After some investigation we believe it is because the HTML source code of the email content don't contain any line break. When the email content was submitted to a SMTP server, the SMTP server will insert some line break when it reach the 1000 characters limit, if the line break just occur in the URL, it will be recognized as %20 in browser.

Does any one else have same problem? How can I solve it?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,915 Super User 2025 Season 2 on at

    Hi York,

    %20 is not a line break, but a space. Can you review the URL setting itself if someone did put in a space somewhere?

  • York Chen Profile Picture
    5 on at

    Hi, Andre

    Thanks for your reply.

    When I click the link, it's being recognized a %20 by browser by if I look into the source code of the email, it is a like break.

    This is the original like vs received link. The first one is received link, the second one is original link.1-_2800_2_2900_.jpg

    Here is the received email HTML body, you can see a line break right occurred in the middle of the URL where %20 appeared above. If I find this message in SysOutgoingMailTable, the message only contain two lines, first line is "<hrml><HEAD></HEAD>" and the rest is the second line. the line break occurred at 998th character of the line, so I suppose it is because of the 1000 characters limit of SMTP.  But I didn't find any way to insert line break manually to the source code, any line break inserted into the editor will be converted into <BR> tag. I also tried to use \n in the editor and it also not recognized as escape sequence.

    7215.jpg

  • André Arnaud de Calavon Profile Picture
    300,915 Super User 2025 Season 2 on at

    Hi York,

    This can be caused by indeed having variables with 1000 character limits. Have you logged a case for Microsoft Support or searched on LCS issue search for a known issue?

  • York Chen Profile Picture
    5 on at

    Hi, Andre

    I tried to log a support ticket but it turns our that I don't have a service contract. Usually we get support from our consulting partner, but in this case seems they don't have better solution.

    I tried to search on google but not on LCS, I'm not quite familiar with LCS/Microsoft support. Maybe I should ask our consulting partner to reach Microsoft support instead.

  • André Arnaud de Calavon Profile Picture
    300,915 Super User 2025 Season 2 on at

    Hi York,

    You can indeed ask your consulting partner. If they have an active contract, they would be able to help you.

  • York Chen Profile Picture
    5 on at

    OK, I will ask our partner again. Thanks for your help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans