Popularity
5.2
Growing
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. -
devmail
An SMTP/POP3-server that keeps every email you send it until you fetch it -
Mailer
Simple Email Sending Client for Mailgun & Sendgrid services in crystal
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of smtp.cr or a related project?
Popular Comparisons
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