Prerequisites for Sending an Email¶ Note Make sure authentication is set up before sending emails to prevent them from being bounced. Specifically, if the sending domain fails any of the SPF, DKIM, or DMARC checks, the email will be rejected. To ensure reliable email delivery and avoid bounces, it's important to properly configure the following authentication mechanisms: Sender Policy Framework (SPF): SPF validates that Salesforce is authorized to send emails on your domain’s behalf. Learn more about SPF. DomainKeys Identified Mail (DKIM): DKIM adds a cryptographic signature to outgoing emails, verifying they weren't altered in transit. Generate and activate DKIM keys in Salesforce and add the provided CNAME records to your DNS. Learn more about DKIM setup. Domain-based Message Authentication, Reporting, and Conformance (DMARC): DMARC builds on SPF and DKIM to define how email receivers should handle authentication failures and provides reporting. Learn more about DMARC. Create and send emails in Salesforce Marketing Cloud¶ Step 1: Log in and access Email Studio¶ Navigate to your Salesforce Marketing Cloud login page and log in with your credentials. Navigate to Email Studio from the main dashboard. Step 2: Develop Your Email Template¶ Access the Email Templates Home. Within Email Studio, locate the Content section or Email Templates. Click New Email Template, fill in the required details, and save. Open the template details page and click "Edit in Builder." From there, you can modify the HTML, paste an existing template, or choose from their available templates. I have also added a custom HTML template, which you can find here. Save your changes and return to the Email Templates home. This template can now be used in subsequent email sends. Step 3: Create the Email Message in Content Builder¶ From Email Studio, click on Content. Choose Create and select your preferred email type (Template Based, HTML Paste, or Text Only). Enter the necessary details such as the email subject, preheader, and other required fields. Construct the email content according to the chosen format. Use the preview features (desktop, mobile, HTML, and plain text) to verify the email’s appearance. Save your email draft when satisfied. Step 4 Configure a Sender Profile¶ In Email Studio, click the Admin tab (or use the Email drop-down to find Admin). Find the Sender Profiles option in the left-hand menu. Click Create to make a new profile or select an existing profile to update. Provide a From Name and a verified From Email Address that is authorized in your Salesforce Marketing Cloud account. Confirm and save your sender profile. Step 5: Set Up a Delivery Profile¶ Provide a reply-to email address. Configure additional settings such as headers, footers, and tracking options as needed. Step 6: Create a Send-Classification¶ Combine your sender profile and delivery profile in a send-classification. Choose whether your send is Commercial or Transactional. Step 7: Build the Email Send Definition¶ Attach your email template/message, send classification, and target audience. Define scheduling options or decide on an immediate send. Note: You can use the WSO2 Integrator: MI "Create Email Send Definition" operation to programmatically create the send-definition. Step 8: Test Your Email¶ Use Email Studio’s preview features to ensure the email renders correctly across different devices and email clients. Send a test email to a small group to validate the sender profile, delivery profile, send classification, and overall email formatting. Step 9: Execute the Full Send¶ After a successful test send and verification of all settings, proceed with the full email send to your entire target audience. Note: You can use the WSO2 Integrator: MI "Send Email Message" operation to programmatically trigger the full email send.