Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trước khi gửi email động dựa trên AMP, bạn có thể kiểm thử email đó để xác minh nội dung và hành vi của email.
Có hai cách để kiểm thử email động trong Gmail:
Sử dụng AMP for Email Playground (Sân chơi AMP cho email) của Gmail để tạo email AMP, xem trước trực tiếp và gửi email đến tài khoản Gmail của riêng bạn để kiểm thử.
Chuyển đến phần Cài đặt > Chung > Email động của Gmail rồi nhấp vào Cài đặt cho nhà phát triển. Thao tác này sẽ mở ra một hộp thoại để bạn có thể thêm vào danh sách cho phép một địa chỉ email có thể gửi cho bạn email động cho mục đích kiểm thử.
Phiên bản AMP của email được gửi từ địa chỉ được liệt kê đến tài khoản của bạn sẽ được hiển thị, ngay cả khi địa chỉ email đó chưa được đăng ký với Google. Việc này cho phép bạn kiểm thử email động trên tài khoản của riêng mình trước khi đăng ký để đảm bảo email hoạt động như mong đợi.
Yêu cầu về phân phối
Để email AMP được phân phối đến bất kỳ tài khoản nào, email đó phải đáp ứng các điều kiện sau:
Email phải chứa phiên bản HTML dự phòng (text/html) hoặc phiên bản văn bản thuần tuý (text/plain) ngoài phần MIME AMP (text/x-amp-html). Phiên bản dự phòng này sẽ hiển thị trong trường hợp không thể hiển thị phần MIME AMP, chẳng hạn như khi ứng dụng email không có kết nối mạng hoặc sau hơn 30 ngày kể từ khi Gmail nhận được email.
[null,null,["Cập nhật lần gần đây nhất: 2025-03-24 UTC."],[],[],null,["# Test your AMP emails in Gmail\n\nBefore you send a AMP-powered dynamic email, you can test it to verify its\ncontents and behavior.\n\nThere are two options for testing your dynamic emails in Gmail:\n\n1. Use Gmail's [AMP for Email Playground](https://amp.gmail.dev/playground/) to draft AMP emails, see a live preview, and have your emails sent to your own Gmail account for testing.\n2. Navigate to Gmail **Settings \\\u003e General \\\u003e Dynamic email** and click\n **Developer settings**. This opens a dialog where you can whitelist\n an email address that can send you dynamic emails for testing purposes.\n The AMP version of emails sent from the listed address to your account\n are rendered, even if the email address is not registered with Google. This\n lets you test your dynamic emails on your own accounts before registering to\n ensure they are working as expected.\n\n | **Note:** In order to send AMP emails to your own account from the [AMP for Email Playground](https://amp.gmail.dev/playground/), you need to whitelist `amp@gmail.dev` in the **Developer settings** dialog.\n | **Note:** Make sure to test delivering your email from your production system using option 2 above. This helps verify that the email you send in production meets all the delivery requirements, and helps test for potential modifications to your email made by your [ESP](https://amp.dev/support/faq/email-support/). See [validate delivered emails](https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validate_emails/?format=email#validate-delivered-emails) for more details on how to verify whether the email still contains valid AMP after modifications by your ESP.\n\nDelivery requirements\n---------------------\n\nFor your AMP email to be delivered to any account, the email must meet the\nfollowing conditions:\n\n- The [AMP for Email security requirements](/workspace/gmail/ampemail/security-requirements) must be met.\n- The email must contain a fallback HTML version (`text/html`) or plain text version (`text/plain`) in addition to the AMP MIME part (`text/x-amp-html`). This fallback version is displayed in situations where the AMP MIME part cannot be displayed, such as when the mail client is offline or 30+ days after the email was received by Gmail.\n- The AMP MIME part must contain a [valid AMP document](https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validate_emails/?format=email).\n- The email should include the AMP MIME part before the HTML MIME part.\n- The `From` and `To` header fields of the email must contain different email addresses."]]