"Mailto" it's not showing the proper way. like to, cc, subject showing in to field.

Shrikar Kulkarni 0 Reputation points
2023-10-05T09:02:11.25+00:00

in outsystem we are using "mailto" its opens the outlook pop filled field to, cc, subject this is work find in outlook 2016 version. now we are upgrading the version outlook 365. this mailto function it's not filling properly in outlook 365 version all the field its showing in the single line.

currently we using coding in outsystem below mention.

"mailto:"******@abc.com "&Subject= Account Name : "+"&Body="thank you"


same thing its not showing the proper details in outlook 365

please help out.

thanks in advance.

Outlook | Windows | Classic Outlook for Windows | For business
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Faery Fu-MSFT 19,751 Reputation points Moderator
    2023-10-06T07:29:13.6866667+00:00

    Hi @Shrikar Kulkarni ,

    According to my research, the mailto function in Outlook 365 may have some problems, causing the email body to not display correctly. This may be due to some settings or updates in Outlook 365. Here are some possible solutions:

    If none of the above methods work, iit is recommended that you try to add a question mark(?) after the mail address.

    "mailto:******@abc.com?subject=Account%20Name&Body=thank%20you"


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 


  2. James Dittrich 0 Reputation points
    2024-02-21T21:59:49.3066667+00:00

    You may have to adjust the syntax on a mailto link for Outlook 365 to understand the different headers. Ordinarily, and according to the RFC, the ampersand '&' is a field separator:

    <a href='mailto:#@domain.tld?subject=Example%20Subject&cc=@domain.tld'>

    Our testing shows that only the first argument gets passed to O365. However, if you use '?' as a header separator it passes them successfully:

    <a href='mailto:#@domain.tld?subject=Example%20Subject?cc=@domain.tld'>

    I hope this helps someone.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.