How Do I Test Using the Sink Server on SparkPost?
Sink testing allows you to send messages through SparkPost for integration testing without the messages being attempted for delivery to actual email addresses. Any messages using the sink server email address format will automatically fail as intended.
To use the sink server, you will need to
- append the email addresses you are injecting into our system with
*.sink.sparkpostmail.com. Please note, the asterisk (
*) is a wildcard, where you will place the domain portion of your injected email address.
- You also need to prefix the campaign_id you are injecting into our system with
sparkpost-performance-test-*. Please note, the asterisk (
*) is a wildcard, where you will place anything as part of the campaign_id.
*Please note, any messages injected into our service, including those to the sink server, count against your plan’s message allowance.
Email Address – email@example.com
Campaign ID – 1234
To test with sink server – firstname.lastname@example.org and set the campaign_id with sparkpost-performance-test-1234