Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipient-validation endpoint #3

Closed
wants to merge 1 commit into from
Closed

Conversation

jonowar
Copy link

@jonowar jonowar commented Mar 22, 2023

What

Introduces the recipient-validation/single endpoint.

This can be used to validate a single email and see how likely it is that an email sent to it would result in a success.

The endpoint

3.2.1 :001 > require 'simple_spark'
3.2.1 :002 > simple_spark = SimpleSpark::Client.new
3.2.1 :003 > simple_spark.recipient_validation.validate('[email protected]')
/Users/jono/code/simple_spark/lib/simple_spark/exceptions.rb:24:in `fail_with_exception_for_status': Forbidden. 403 (Error Code: ) (SimpleSpark::Exceptions::UnprocessableEntity)

Notes

Currently getting a 403 error on it. I wonder if maybe we need to upgrade our account.

@ColinTheRobot
Copy link

when slash if this is merged, worth opening a pr on the parent

@krnjn krnjn closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants