carbon_smtp_adapter
Version, currently 0.2.05 versions
- 0.5.0latestFeb 9, 2024
- 0.4.0not indexedFeb 9, 2024
- 0.2.0not indexedFeb 9, 2024
- 0.1.1not indexedFeb 9, 2024
- 0.1.0not indexedFeb 9, 2024
github.com/luckyframework/carbon_smtp_adapter
An smtp adapter for the carbon email library
10 stars
0 dependents
License: MIT
Nothing has been indexed for 0.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
carbon_smtp_adapter:
github: luckyframework/carbon_smtp_adapter
version: ~> 0.2.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# carbon\_smtp\_adapter
A simple SMTP-Adapter for [carbon](https://github.com/luckyframework/carbon).
## Versioning
The current plan is to track carbon's major and minor numbers, so that
carbon\_smtp\_adapter `0.1.x` is compatible with carbon `0.1.x` and so on.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
carbon_smtp_adapter:
github: luckyframework/carbon_smtp_adapter
```
## Usage
```crystal
require "carbon_smtp_adapter"
# configure your base email class to use the smtp adapter:
BaseEmail.configure do |setting|
settings.adapter = Carbon::SmtpAdapter.new
end
```
By default, carbon will try to deliver the email to an smtp server running on
`localhost` and listening on port `25`. If you need different settings, you can
configure the following (values shown are the defaults):
```crystal
Carbon::SmtpAdapter.configure do |settings|
settings.host = "localhost"
settings.port = 25
settings.helo_domain = nil
settings.use_tls = true
settings.username = nil
settings.password = nil
end
```
## Contributing
1. Fork it (<https://github.com/luckyframework/carbon_smtp_adapter/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [oneiros](https://github.com/oneiros) David Roetzel - creator
With many thanks to:
- [paulcsmith](https://github.com/paulcsmith) Paul Smith - creator of carbon
- [arcage](https://github.com/arcage) arcage - creator of crystal-email
- [tijn](https://github.com/tijn) Tijn Schuurmans - creator of devmail
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Feb 9, 2024
- Commit
07f38041e67f- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/luckyframework/carbon_smtp_adapter
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 5