Popularity
4.9
Stable
Activity
0.0
Stable
23
2
3
Programming language: Crystal
License: MIT License
Tags:
Email
Latest version: v0.2.0
smtp.cr alternatives and similar shards
Based on the "Email" category.
Alternatively, view smtp.cr alternatives based on common mentions on social networks and blogs.
-
carbon
Email library for Crystal. Testable, adapter-based, and catches bugs for you. Comes with an adapter for SendGrid.
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Promo
www.influxdata.com

Do you think we are missing an alternative of smtp.cr or a related project?
README
smtp.cr
SMTP client in Crystal
Deprecated
Please use arcage shard, as this library won't be supported anymore https://github.com/arcage/crystal-email
Installation
Add this to your application's shard.yml
:
dependencies:
smtp:
github: raydf/smtp.cr
Usage
require "smtp"
client = SMTP::Client.new("localhost")
message = SMTP::Message.new()
message.from = SMTP::Address.new(email="[email protected]", name="Test")
message.to << SMTP::Address.new(email="[email protected]", name="Name")
message.subject = "Testing message"
message.body = %{
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Demystifying Email Design</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>Test <h1><strong>HTML</strong></h1></body>
</html>
}
client.send message
Development
TODO: Write development instructions here
Alternative shard/lib
https://github.com/arcage/crystal-email
Contributing
- Fork it ( https://github.com/raydf/smtp.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [raydf] Rayner De Los Santos - creator, maintainer