@@ -499,7 +499,9 @@ def send_raw(
499499 Use this for advanced use cases or
500500 when migrating from systems that generate raw email content.
501501
502- The `rawMessage` field should contain the base64-encoded raw email.
502+ **Important:** The `rawMessage` field must be base64-encoded. Your raw MIME
503+ message (with headers like From, To, Subject, Content-Type, followed by a blank
504+ line and the body) must be encoded to base64 before sending.
503505
504506 Args:
505507 from_: Sender email address. Must be from a verified domain.
@@ -512,7 +514,11 @@ def send_raw(
512514
513515 The domain portion must match a verified sending domain in your account.
514516
515- raw_message: Base64-encoded RFC 2822 MIME message
517+ raw_message: Base64-encoded RFC 2822 MIME message.
518+
519+ **You must base64-encode your raw email before sending.** The raw email should
520+ include headers (From, To, Subject, Content-Type, etc.) followed by a blank line
521+ and the message body.
516522
517523 to: Recipient email addresses
518524
@@ -1006,7 +1012,9 @@ async def send_raw(
10061012 Use this for advanced use cases or
10071013 when migrating from systems that generate raw email content.
10081014
1009- The `rawMessage` field should contain the base64-encoded raw email.
1015+ **Important:** The `rawMessage` field must be base64-encoded. Your raw MIME
1016+ message (with headers like From, To, Subject, Content-Type, followed by a blank
1017+ line and the body) must be encoded to base64 before sending.
10101018
10111019 Args:
10121020 from_: Sender email address. Must be from a verified domain.
@@ -1019,7 +1027,11 @@ async def send_raw(
10191027
10201028 The domain portion must match a verified sending domain in your account.
10211029
1022- raw_message: Base64-encoded RFC 2822 MIME message
1030+ raw_message: Base64-encoded RFC 2822 MIME message.
1031+
1032+ **You must base64-encode your raw email before sending.** The raw email should
1033+ include headers (From, To, Subject, Content-Type, etc.) followed by a blank line
1034+ and the message body.
10231035
10241036 to: Recipient email addresses
10251037
0 commit comments