CData Python Connector for Salesforce Marketing Cloud

Build 25.0.9454

GetHeaderFooterEmail

Retrieves the header and footer content that is associated with a specific email in Salesforce Marketing Cloud. These elements define the standardized branding and layout sections that appear at the top and bottom of an email message. This procedure helps ensure consistent design and compliance across campaigns.

Input

Name Type Required Description
AssetId Integer True Specifies the unique identifier (Id) of the email asset whose header and footer content is to be retrieved. This identifier links the stored procedure request to a specific message that is stored in Content Builder.

Result Set Columns

Name Type Description
HTMLHeader String Returns the HTML version of the message header that is defined for the specified email asset. This section typically includes branded elements, such as a logo, navigation links, or other design components that appear at the top of the message.
HTMLFooter String Returns the HTML version of the message footer that is defined for the specified email asset. The footer often includes compliance elements such as unsubscribe links, mailing addresses, or legal disclaimers.
TextHeader String Returns the plain-text version of the message header that is defined for the specified email asset. This header is used in text-only versions of messages and preserves structure without HTML formatting.
TextFooter String Returns the plain-text version of the message footer that is defined for the specified email asset. This footer appears in text-only messages and includes essential compliance and contact details without HTML styling.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454