メールのサービス返信でメールを作成する際、テキスト内容を使用すると改行が正しく表示されない場合があります。この問題は、プレーンテキストメールでの改行コードの処理方法に起因して発生します。具体的にはシステムが特定の改行文字を認識できないため、テキスト内容でフォーマットの問題が生じます。こちらはコンテンツに改行を含むテンプレートや自動返信を使用する際によく見られます。
メールのサービス返信でメールを作成する際、テキスト内容を使用する場合は、テンプレートの種類が [サービスメール] のプロンプトテンプレートに以下の例のような命令を追加してください。
例:
メールはプレーンテキストで送信されるため、本文は TextBody に記述します。
TextBody の改行には「\r」 (Carriage Return) を使用します。
なお、こちらの手順はサンプルの実装となります。Salesforce サポートでは、ここで紹介する内容について具体的な手順を提供することはできませんので、あらかじめご了承ください。
005102441

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.