Skip to content

Releases: truemail-rb/truemail-crystal-client

v0.2.1

05 Feb 14:18
e16b5d8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

25 Jan 12:23
8ee2e32
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.2.0

v0.1.1: Technical/Update shard dependencies (#10)

23 Nov 18:07
2d890c0
Compare
Choose a tag to compare
  1. Updated shard development dependencies
  2. Updated github issue templates
  3. Updated shard version, documentation

v0.1.0

05 May 17:37
1a1252c
Compare
Choose a tag to compare

First version of Truemail Crystal client.

require "truemail-client"

configuration = Truemail::Client::Configuration.new do |config|
  config.secure_connection = false
  config.host = "example.com"
  config.port = 80
  config.token = "token"
end

Truemail::Client.validate("[email protected]", configuration)

=>

{
  "date": "2020-05-05 19:30:42 +0200",
  "email": "[email protected]",
  "validation_type": "smtp",
  "success": true,
  "errors": null,
  "smtp_debug": null,
  "configuration": {
    "validation_type_by_domain": null,
    "whitelist_validation": false,
    "whitelisted_domains": null,
    "blacklisted_domains": null,
    "smtp_safe_check": false,
    "email_pattern": "default gem value",
    "smtp_error_body_pattern": "default gem value"
  }
}