Skip to content

Sink server/test mode #132

@asherber

Description

@asherber

https://support.sparkpost.com/customer/en/portal/articles/2560839-how-do-i-test-using-the-sink-server-on-sparkpost-?b_id=7411

It would be nice for the library to have some support around this. The simplest option, which is how some other ESPs manage it, would be to have a TestMode flag in Transmission.Options. If this flag is on, the library would append .sink.sparkpostmail.com to each recipient email address before sending.

I know you like to have the library mirror the actual structure of the API and may not like to add an option that doesn't correspond to an actual API flag, so another option would be to add a Transmission.Recipients.Sinkify() method that massages the addresses.

I'm happy to do the work on this, if you could weigh in on an approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions