marten_smtp_emailing
Version, currently 0.1.12 versions
- 0.1.1latestMar 14, 2024
- 0.1.0not indexedAug 2, 2026
github.com/martenframework/marten-smtp-emailing
An SMTP emailing backend for the Marten web framework.
Installation
# Add this to your shard.yml
dependencies:
marten_smtp_emailing:
github: martenframework/marten-smtp-emailing
version: ~> 0.1.1Then run:
shards installshard.yml
- Crystal
>= 1.4.0- License
- MIT
- Author
- Morgan Aubert
Dependencies
Runtime Dependencies
Development Dependencies
README
Marten SMTP Emailing
Marten SMTP Emailing provides an SMTP backend that can be used with Marten web framework's emailing system.
Installation
Simply add the following entry to your project's shard.yml:
dependencies:
marten_smtp_emailing:
github: martenframework/marten-smtp-emailing
And run shards install afterward.
Configuration
First, add the following requirement to your project's src/project.cr file:
require "marten_smtp_emailing"
You can then configure your project to use the SMTP backend by setting the corresponding configuration option as follows:
Marten.configure do |config|
config.emailing.backend = MartenSMTPEmailing::Backend.new
end
By default, the backend will attempt to deliver emails to an SMTP server running on localhost and listening on the standard SMTP port (25). If you need to, you can change these backend properties at initialization time:
Marten.configure do |config|
config.emailing.backend = MartenSMTPEmailing::Backend.new(
host: "localhost",
port: 25,
helo_domain: "localhost",
use_tls: true,
username: nil,
password: nil
)
end
Authors
Morgan Aubert (@ellmetha) and contributors.
License
MIT. See LICENSE for more details.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- Mar 14, 2024
- Commit
80d4e31d30b6- Crystal
>= 1.4.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/martenframework/marten-smtp-emailing
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2