AWS limits Amazon SES Sandbox recipients to verified email addresses or domains, with the mailbox simulator as a separate testing option (AWS Sandbox and production access guidance). So if you need to inspect a registration code, click a verification link, or complete sign-up, send through your own application to a readable address that meets the current verification rules. Use the simulator to test event handling—not as proof that a user received a readable message.
This guide is for developers testing their own registration flow in the SES Sandbox, QA engineers defining separate assertions for sending, receiving, and account verification, and independent developers preparing evidence for a production-access request.
Amazon SES Sandbox registration email testing with a real inbox
Use a real, readable inbox when your acceptance target is the message itself or the user's registration journey. Before testing, confirm the SES account status and Region in use. AWS identities are configured within a Region, so verify that the sender identity you depend on exists in the same Region as the send request (AWS identity documentation).
The recipient must also satisfy the Sandbox restriction for that account and Region. Do not assume that a temporary inbox, an address you control, or an address that passed a test elsewhere is automatically eligible. Check the actual recipient verification state before treating the setup as valid.
A controlled test run should tie together the application event, the message, and the account outcome:
- Choose a test account and recipient. Use an account in your own product's test environment. Pick an inbox you are authorized to use and can actually read. Confirm that the recipient meets the current SES Sandbox requirements.
- Check the active environment. Record the application environment and the SES Region used by the sending configuration. Confirm that the sender identity is verified in that Region. This catches a common configuration mismatch: checking one environment or Region while the application sends from another.
- Trigger registration through the application. Submit the sign-up form as a user would. Avoid sending a separate manual test message if your goal is to verify the application's complete registration path. A manual send can prove that one send route works while bypassing the code that constructs and triggers the registration message.
- Associate the message with the run. Use a unique test account or another safe correlation method supported by your application. Record the trigger time and the relevant application log or request identifier. Do not put real personal information into test fields simply to make a test look realistic.
- Inspect the actual message. Confirm the expected recipient, subject, sender display, body, and code or link. Check that the message belongs to the current test run rather than a stale message from an earlier attempt.
- Complete the flow. Enter the code or open the link in the test application. Verify the final account state in the application, not just the appearance of a confirmation screen. Record whether the account is marked as verified and whether the expected next step becomes available.
This path gives you evidence for more than one stage: the application initiated registration, SES processed the request, the message was readable, and the user action changed the account state. Keep those claims separate in test results. A message visible in an inbox does not, by itself, prove that the application accepted the code or completed account verification.
For cleaner test data, keep generated accounts and identifiers distinct from production users. The guidance on handling test data without exposing personal information can help you decide what to keep in logs and test records. The goal is to retain enough evidence to reproduce a failure without copying real customer data into a development workflow.
Simulator events versus readable messages
The Amazon SES mailbox simulator is useful when you need to exercise your application's response to sending outcomes. It is not a mailbox for reading a registration code. AWS describes the simulator as a way to test sending scenarios through designated simulator recipients; it does not turn those recipients into ordinary inboxes (AWS console sending guide).
That distinction matters when you write QA assertions. A simulator event can show that your application reacts to a particular outcome. It cannot confirm the message's body, whether a user can read the code, whether the link works, or whether the recipient's inbox presents the message as expected.
| Acceptance target | Suitable path | What the evidence can establish | What it cannot establish |
|---|---|---|---|
| Code or link content | Send to an eligible, readable test inbox | The message content can be inspected and used in the flow | How every real recipient's inbox will display or classify it |
| Registration completion | Trigger the real application flow and complete verification | The tested account reached the expected state | That all SES event-handling paths work |
| Bounce or complaint handling | Use the simulator for the relevant outcome and inspect your event pipeline | Your configured event handling responds to the simulated result | That a real user received a readable registration message |
| Sending request and application response | Correlate application logs with SES evidence | The tested code path issued and processed the request as expected | That an accepted request equals inbox receipt |
For event handling, keep the simulator outcome, the notification or event record, and the application's state update as separate evidence items. SES event publishing can be configured to report sending activity, and the AWS documentation describes the event publishing setup and available event-handling concepts (SES event publishing). If you use notifications, check the notification configuration and the application consumer independently (SES sending activity notifications).
This avoids a misleading test result such as “email verified” when the only assertion that passed was “simulated complaint event handled.” Name the assertion after what it proves: for example, “simulated bounce updates test account state” or “registration code received and accepted.”
Missing-code diagnosis by evidence stage
When SES appears to accept a send but no code appears in the test inbox, trace the path in order. Do not treat a successful API response as proof of receipt. An accepted request tells you that the request passed the relevant send-request checks; it does not show that a person can read the message in the intended inbox.
Start with the earliest stage that lacks evidence:
- No application trigger: Check the registration route, validation outcome, and the branch that should request a message. Confirm the test account did not already satisfy the condition that suppresses a new code.
- Application trigger exists, but no SES request is recorded: Inspect the application's mail adapter, credentials, configuration, and error handling. Check that the code is using the expected test environment rather than a local or production configuration.
- SES request is present, but the recipient does not qualify: Recheck the recipient's verification status and the active account and Region. Do not substitute a different address mid-run without recording it; that makes later evidence hard to interpret.
- SES accepted the request, but the message is not readable: Inspect the relevant SES events and your receiving setup. Check the recipient value, sender identity, message handling, and any filters or routing rules that could affect where the message appears.
- Message is visible, but verification fails: Compare the code or link in the message with the application's stored verification state. Check for stale messages, duplicate submissions, incorrect test accounts, and implementation-specific expiration or single-use rules.
Keep these as diagnostic hypotheses until logs or message evidence confirm them. A blank inbox alone does not identify which stage failed. Likewise, a message in the inbox with a rejected code points to a different problem from a request that never reached SES.
Do not use a fixed wait-time assumption as a diagnosis. The materials here do not establish a universal delivery time, a universal code lifetime, or a universal delivery rate. Your application controls its own code rules, while the delivery path and recipient setup affect what you can observe. Record what happened in your run and use the system's actual logs and configuration.
For a broader review of what an accepted request does—and does not—tell you, see this guide to testing whether an email was sent or actually received. Keep the terms precise in bug reports: “send request accepted,” “delivery event observed,” and “message readable” are different claims.
Sandbox acceptance versus production readiness
A successful Sandbox test is useful evidence about the configuration and path you exercised. It does not prove that production sending to unverified recipients is ready. Sandbox restrictions remain relevant until AWS grants production access for the appropriate Region and account. Follow the current AWS process rather than trying to work around recipient verification requirements.
When preparing a production-access request, use AWS's current guidance to describe your intended mail use, the website or product involved, and how you will handle bounces and complaints (AWS production access process). Your test evidence should match those claims. If your product sends registration messages, show that your own flow constructs and sends them correctly, and that your system has a defined response to relevant events.
A practical pre-request record can include:
- The application environment and SES Region used.
- The sender identity and the recipient's verification status for the test.
- Whether the test used an actual readable inbox or a simulator scenario.
- The application trigger and corresponding SES evidence.
- The message or simulated event evidence.
- The final state of the test account and any event-driven state changes.
Do not claim production readiness solely because a Sandbox test passed. A controlled test proves only the scenario you ran and the configuration it used. It does not establish that every production recipient will receive a message or that your operational response is adequate.
Acceptance decision by test goal
Choose the path based on the claim you need to make:
- If you need to inspect the code or link, use a readable recipient that meets the current SES verification rules. Trigger the message through your application, inspect it, and complete the registration flow. Otherwise, you have not tested the user-facing verification path.
- If you need to test bounce, complaint, or other sending-event handling, use the simulator for the relevant outcome and retain the event and application-response evidence. Do not report this as proof that a registration message reached an inbox.
- If you need both forms of acceptance, run both paths and record them as separate test cases. Passing one does not cover the assertions in the other.
- If the recipient's eligibility is uncertain, verify it in the account and Region you will use before starting. If it cannot meet the Sandbox rule, use a qualifying controlled recipient instead; do not try to bypass the restriction.
- If your only evidence is an accepted send request, report the request as accepted and continue investigating the downstream stage. Do not label the message “received” or the account “verified.”
A good test report should make the boundary visible. It should say whether you tested a real readable message, a simulator-generated event, or both. That small distinction prevents a broad “email tested” label from hiding an untested registration step.
FAQ
Can I send a registration code to an unverified test inbox from the SES Sandbox?
Not as a general rule. In the Sandbox, SES limits recipients to verified email addresses or domains, with the mailbox simulator as a separate option. Check the account and Region you are using, then verify that the recipient meets the applicable rule before testing. A temporary address is not automatically eligible just because you can open its inbox.
Can the Amazon SES mailbox simulator show me the registration code?
No. The mailbox simulator creates specified sending outcomes for testing your application's event handling. It is not a normal inbox where you can read a message body, copy a code, or click a verification link. Use a readable, eligible recipient address to test the content and user journey.
How do I test my application's email verification flow in the SES Sandbox?
Trigger registration in your own application using a controlled test account and a recipient address that satisfies SES Sandbox rules. Then inspect the actual message, confirm the code or link belongs to that test run, submit it through the application, and verify the resulting account state. Keep application and SES evidence separate.
Why did SES accept my send request but no code appeared in the test inbox?
An accepted send request does not prove that a user can read the message. First compare the application's environment, SES Region, sender identity, and recipient address with the current test run. Then inspect SES events and application logs to locate the failure stage. Avoid assuming a fixed delivery time or code expiry; those depend on the message path and your implementation.
A controlled inbox option for code checks
For a registration test that requires reading a code or opening a verification link, a temporary inbox can be one controlled recipient option—but only if it is readable and meets the SES verification rules for your account and Region. Check MsgTemp's currently available inbox capabilities before using it in a test. A temporary address does not override AWS restrictions or replace a production-delivery test. When it fits your test setup, MsgTemp offers an on-demand inbox without requiring you to expose your primary email, keeping test traffic separate from your everyday mailbox.
Frequently asked questions
Can I send a registration code to an unverified test inbox from the SES Sandbox?
Not as a general rule. In the Sandbox, SES limits recipients to verified email addresses or domains, with the mailbox simulator as a separate option. Check the account and Region you are using, then verify that the recipient meets the applicable rule before testing. A temporary address is not automatically eligible just because you can open its inbox.
Can the Amazon SES mailbox simulator show me the registration code?
No. The mailbox simulator creates specified sending outcomes for testing your application's event handling. It is not a normal inbox where you can read a message body, copy a code, or click a verification link. Use a readable, eligible recipient address to test the content and user journey.
How do I test my application's email verification flow in the SES Sandbox?
Trigger registration in your own application using a controlled test account and a recipient address that satisfies SES Sandbox rules. Then inspect the actual message, confirm the code or link belongs to that test run, submit it through the application, and verify the resulting account state. Keep application and SES evidence separate.
Why did SES accept my send request but no code appeared in the test inbox?
An accepted send request does not prove that a user can read the message. First compare the application's environment, SES Region, sender identity, and recipient address with the current test run. Then inspect SES events and application logs to locate the failure stage. Avoid assuming a fixed delivery time or code expiry; those depend on the message path and your implementation.
Choose the Right Option for How Long You Need It
Use a temporary inbox for a one-time code; when you need ongoing delivery and account recovery, log in to create a long-term forwarding alias.