セキュリティ標準を向上させるため、Salesforce は Summer ’23 メジャーリリース以降、ゲストユーザーレコードの未検証のメールアドレスから送信される電子メールをブロックしています。
Apex、またはゲストユーザーレコードから送信されるメールを使用するフローを使用してカスタム実装している場合は、メールを引き続き送信するためにゲストユーザーレコードに変更を加える必要がある場合があります。
組織全体のメールアドレスを使用して、ゲストユーザーレコードからメールを引き続き送信できます。組織にまだ組織全体のメールアドレスがない場合は作成してください。組織全体のメールアドレスの検証手順に従ってください。ゲストユーザーレコードのメールの項目に組織のメールアドレスを追加します。
ゲストユーザーから Apex を使用してメールを送信する場合は、送信者を検証済みの組織のメールアドレスに設定します。
サンプルコード:
OrgWideEmailAddress[] owea = [select Id from OrgWideEmailAddress where Address =
'doNotReply@<somedomain>.com'];
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
if ( owea.size() > 0 ) {
mail.setOrgWideEmailAddressId(owea.get(0).Id);
}
上述の操作を試してもゲストユーザーレコードからメールを送信できない場合は、Salesforce カスタマーサポートまでお問い合わせください。
000395326

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.