直接郵件設定 direct-mail-configuration

在此頁面上:​設定檔案路由及直接郵件通道設定,讓您的擷取檔案匯出至正確的伺服器,供直接郵件提供者擷取。

Journey Optimizer可讓您個人化並產生直接郵件供應商傳送郵件給您的客戶所需的檔案。

建立直接郵件訊息時,您可以定義目標對象資料,包括所選的連絡資訊(例如郵寄地址)。 然後,包含此資料的檔案會自動產生並匯出至伺服器,您的直接郵件提供者將能夠擷取該檔案,並處理實際傳送。

在能夠產生此檔案之前,您需要建立:

  1. 檔案路由組態,指定檔案匯出的伺服器,並視需要加密檔案。

  2. 參考檔案路由設定的直接郵件設定。 如果您尚未設定任何檔案路由選項,您將無法建立直接郵件設定。

CAUTION
  • 若要建立檔案路由設定,您必須擁有​ Manage file routing ​內建許可權。 了解更多

  • 直接郵件檔案只會在匯出時產生;系統不會無限期儲存較舊的匯出專案。 如需更長或永久的備份,請設定檔案路由選項(SFTP或雲端儲存空間)。

設定檔案路由 file-routing-configuration

NOTE
目前的Journey Optimizer支援Amazon S3、SFTP、Azure和資料登陸區域。

為了傳遞直接郵件訊息,Journey Optimizer會產生包含目標對象資料的檔案,並將其匯出至伺服器。

您必須指定伺服器詳細資料,以便直接郵件提供者可以存取及使用該檔案來傳遞郵件。

若要設定檔案路由,請遵循下列步驟。

  1. 存取​管理 > 管道 > 直接郵件設定 > 檔案路由​功能表,然後按一下​建立檔案路由設定

    在直接郵件設定中建立檔案路由設定按鈕 {align="center" width="800"}

  2. 設定組態的名稱。

  3. 選取您要用於匯出直接郵件檔案的伺服器型別:Amazon S3、SFTP、Azure或資料登陸區域。

    直接郵件檔案路由設定的伺服器型別選擇 {align="center" width="800"}

  4. 請填入每種伺服器型別的特定欄位,如以下標籤所詳述。

選擇您的伺服器型別 server-type

Amazon S3

如果您選取​ Amazon S3 ​做為​伺服器型別,請填入伺服器的詳細資料和認證:

  • AWS bucket名稱:To​知道在何處尋找您的AWS bucket名稱,請參閱此頁面

  • AWS存取金鑰:若要瞭解在何處尋找您的AWS存取金鑰ID,請參閱此頁面

  • AWS秘密金鑰:若要瞭解在何處尋找您的AWS秘密金鑰,請參閱此頁面

  • AWS區域:選擇伺服器基礎結構將位於的​AWS區域。 AWS區域是AWS用來託管其雲端基礎結構的地理區域。 一般而言,建議您選擇距離直接郵件提供者位置最近的區域。

針對AWS S3檔案路由設定 Amazon區域選擇 {align="center" width="800"}

SFTP

如果您選取​ SFTP ​做為​伺服器型別,請填入伺服器的詳細資料和認證:

  • 驗證型別:選取用來連線到伺服器的驗證型別(密碼或SSH金鑰)。

  • 帳戶:用來連線至SFTP伺服器的帳戶名稱。

  • 伺服器位址: ​SFTP伺服器的URL。

  • 連線埠: SFTP連線連線埠號碼。

  • 密碼 / SSH金鑰: ​用來連線至SFTP伺服器的密碼或SSH金鑰。

檔案路由設定的 SFTP伺服器連線詳細資料

note tip
TIP
使用SSH金鑰驗證時,金鑰必須是​ Base64編碼的OpenSSH ​私密金鑰。 如果是PPK格式檔案,請使用PuTTY工具將其轉換為OpenSSH格式。 如需詳細指示,請參閱本節
note
NOTE
若要指定伺服器上儲存檔案的路徑,請更新直接郵件促銷活動的​ 檔案名稱 ​欄位,以包含所要的路徑。 了解更多
Azure

如果您選取​ Azure ​做為​伺服器型別,請填入伺服器的詳細資料和認證:

  • Azure連線字串:若要尋找您的​Azure連線字串,請參閱此頁面

    Azure連線字串​應遵循以下格式:

    DefaultEndpointsProtocol=[http|https];AccountName=myAccountName;AccountKey=myAccountKey

  • 容器名稱:若要尋找您的​容器名稱,請參閱此頁面

    容器名稱​應僅包含容器名稱,不含任何斜線。

    note
    NOTE
    若要指定容器內的路徑以儲存檔案,請更新直接郵件促銷活動的​ 檔案名稱 ​欄位,以包含所要的路徑。 了解更多

    檔案路由設定的Azure儲存體連線詳細資料

資料登陸區域

如果您選取​ 資料登陸區域 ​做為​伺服器型別,則不需要特定的詳細資料。

沒有額外伺服器欄位的Data Landing Zone檔案路由設定

Adobe Experience Platform的所有客戶都已為每個沙箱布建一個資料登陸區域容器。 在Adobe Experience Platform檔案中進一步瞭解資料登陸區域。

若要加密檔案,請在​ PGP/GPG加密金鑰 ​欄位中複製並貼上您的加密金鑰。

如果您的檔案路由設定將使用歷程進行傳送,您可以指定檔案將傳送到伺服器的頻率。

檔案路由設定的歷程匯出頻率設定

填寫伺服器型別的詳細資料後,請選取​提交。 檔案路由設定是以​ 作用中 ​狀態建立的。 現在已準備好用於直接郵件組態

您也可以選取​ 另存為草稿 ​以建立檔案路由組態,但您無法在組態中選取它,直到它是​ 作用中 ​為止。

產生SFTP驗證的SSH金鑰 ssh-key-generation

如果您使用具有SSH金鑰驗證的SFTP,則必須擁有Base64編碼的OpenSSH私密金鑰。 如果金鑰的格式不正確,則在設定檔案路由時,可能會遇到連線錯誤。

產生Base64編碼的OpenSSH私密金鑰
  1. 在PuTTYgen中,產生您的金鑰組。 建議使用2048位元或更新版本的RSA。

  2. 從功能表選取​轉換 > 匯出OpenSSH金鑰

  3. 出現提示時,選擇儲存私密金鑰​而不使用密碼保護

  4. 在儲存對話方塊中,選取​所有檔案(.) 作為檔案型別,以確保將金鑰儲存為純文字而非.ppk檔案。

  5. 使用文字編輯器開啟儲存的檔案,並驗證其格式:

    • 檔案必須以-----BEGIN RSA PRIVATE KEY-----開頭(前後有五個破折號)。
    • 應該沒有表示加密的文字。
    • 檔案必須以-----END RSA PRIVATE KEY-----結尾(前後有五個破折號)。
  6. 複製​整個檔案內容 (包括-----BEGIN/END RSA PRIVATE KEY-----標籤),並使用Base64 Encode和Decode之類的工具將其編碼至Base64。

    note
    NOTE
    在Base64編碼輸出中,移除任何MIME格式。 編碼索引鍵必須是單一連續字串。
  7. 您現在可以將Base64編碼的SSH金鑰貼到Journey Optimizer中的專用欄位。

note caution
CAUTION
Base64編碼之後,金鑰將不再包含-----BEGIN/END RSA PRIVATE KEY-----標籤,且不得包含任何分行符號。 必須將對應的公開金鑰新增至SFTP伺服器的授權金鑰檔案。

如需有關將SFTP帳戶連線至Experience Platform的詳細資訊,請參閱此檔案

建立直接郵件設定 direct-mail-surface

若要能夠透過Journey Optimizer傳遞直接郵件,您必須建立通道設定,以定義郵件提供者將使用的檔案格式設定。

直接郵件設定也必須包含檔案路由設定,該設定會定義將匯出直接郵件檔案的伺服器。

  1. 在左側邊欄中,瀏覽至​管理 > 管道​並選取​一般設定 > 管道設定。 按一下​ 建立通道組態 ​按鈕。 了解更多

    在Administration中建立管道設定畫面

  2. 輸入設定的名稱和說明(選擇性),然後選取要設定的通道。

    note
    NOTE
    名稱必須以字母(A-Z)開頭。 它只能包含英數字元。 您也可以使用底線 _、點 . 和連字號 - 字元。
  3. 若要將自訂或核心資料使用標籤指派給組態,您可以選取​管理存取權進一步瞭解物件層級存取控制(OLAC)

  4. 選取​ 直接郵件 ​頻道。

    建立頻道設定時已選取 直接郵件頻道

  5. 選取​行銷動作,以使用此設定將同意原則與訊息相關聯。 系統會運用與行銷動作相關的所有同意政策,以尊重客戶的偏好設定。 了解更多

  6. 在通道設定的專用區段中定義直接郵件設定。

    包括檔案格式和路由的直接郵件表面設定 {align="center" width="800"}

  7. 選取檔案格式: CSV​或​文字分隔

  8. 如果您選取​文字分隔,請定義您選擇的欄分隔符號:製表、分號、垂直號或&符號。

    直接郵件匯出檔案的文字分隔欄分隔符號選項

  9. 選取您建立的​檔案路由設定。 這會定義檔案將匯出至何處以供直接郵件提供者使用。

    note caution
    CAUTION
    如果您尚未設定任何檔案路由選項,您將無法建立直接郵件設定。 了解更多

    直接郵件通道組態中選取的檔案路由組態 {align="center" width="800"}

  10. 提交直接郵件設定。

您現在可以在行銷活動中建立直接郵件訊息。 行銷活動開始後,包含目標對象資料的檔案會自動匯出至您定義的伺服器。 然後,直接郵件提供者將能夠擷取該檔案,並繼續直接郵件傳送。

NOTE
資料列中所有值都相同的重複資料列,會自動從檔案中移除。

如需直接郵件的常見問題,請參閱開始使用直接郵件

AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to set up a file routing configuration and a direct mail channel configuration so that extraction files are exported to the right server for your direct mail provider to retrieve.

Intents:

  • Create a file routing configuration that defines the export server
  • Choose a server type: Amazon S3, SFTP, Azure, or Data Landing Zone
  • Encrypt the exported file with a PGP/GPG encryption key
  • Generate a Base64-encoded OpenSSH private key for SFTP SSH key authentication
  • Create a direct mail configuration that references a file routing configuration
  • Select the file format and column separator for the exported file

Glossary:

  • File routing configuration: The configuration that specifies the server where the extraction file is exported and, if needed, encrypts the file (product-specific)
  • Direct mail configuration: The channel configuration that defines the file formatting and references a file routing configuration (product-specific)
  • Data Landing Zone: A supported server type provisioned as one container per sandbox for all Adobe Experience Platform customers (product-specific)
  • PGP/GPG encryption key: The key pasted into the configuration to encrypt the exported file (product-specific)
  • Marketing action: A selection that associates consent policies with messages using the configuration (product-specific)

Guardrails:

  • Creating a file routing configuration requires the Manage file routing built-in permission.
  • If no file routing configuration exists, you cannot create a direct mail configuration.
  • Supported server types are Amazon S3, SFTP, Azure, and Data Landing Zone.
  • SFTP SSH key authentication requires a Base64-encoded OpenSSH private key; a PPK-format key must be converted with PuTTY.
  • Configuration names must begin with a letter (A-Z) and can contain only alphanumeric characters plus underscore, dot, and hyphen.
  • A file routing configuration cannot be selected in a configuration until it has the Active status; a Save as draft configuration is not selectable.
  • Direct mail files are generated only at export time and older exports are not stored indefinitely; configure a file routing option (SFTP or cloud storage) for longer backup.
  • Duplicate rows where all values in the row are the same are automatically removed from the file.
  • The file split threshold can be set to any value between 1 and 200,000 records per file, after which another file is created for the remaining records.

Terminology:

  • Canonical name: Direct mail configuration — Acronym: n/a — variants: direct mail channel configuration, direct mail surface
  • Synonyms: “file routing configuration” = “file routing config”
  • Do not confuse: “file routing configuration” (defines the export server) ≠ “direct mail configuration” (defines file formatting and references the file routing configuration)
  • Do not confuse: “Active” (usable status) ≠ “Save as draft” (not selectable in a configuration)

FAQ:

  • Q: What must I create before a direct mail configuration? — A file routing configuration; without one you cannot create a direct mail configuration.
  • Q: Which server types are supported? — Amazon S3, SFTP, Azure, and Data Landing Zone.
  • Q: What permission do I need to create file routing? — The Manage file routing built-in permission.
  • Q: How do I encrypt the exported file? — Paste your encryption key into the PGP/GPG encryption key field.
  • Q: Why can I not select my file routing configuration? — It is likely saved as a draft; a file routing configuration must have the Active status to be selectable.
  • Q: Which file formats are available? — CSV or Text delimited, and Text delimited lets you choose a tabulation, semicolon, pipe, or ampersand column separator.
recommendation-more-help
journey-optimizer-help