Comments (5)
@bararchy Yeah that makes sense. It's so much easier to work with SendGrid and most people prefer it (I think) but it would be awesome to have an SMTP adapter as well! If you get it working feel free to open an issue here and I'll add it to the README so people can use it. LMK if you need any help with the adapter
from carbon.
Hey @bararchy! Can you describe what you mean by MTA? I've not heard of that before
from carbon.
@paulcsmith Sorry for later response, MTA stands for mail transfer agent and usually is refereed when talking of the next step an SMTP based client should go to to send emails.
What I was asking is how I tell carbon to send emails via x.x.x.x:25 etc.. and not using other service\site
from carbon.
@bararchy No problem :) You'd have to build an SMTP adapter. Carbon is extendable so you can write one separately. You can see an example here: https://github.com/luckyframework/carbon/blob/master/src/carbon/adapters/send_grid_adapter.cr
It basically takes an email and then you can send it however you'd like :)
Does that answer your question?
from carbon.
@paulcsmith I see, makes sense then, i was kinda surprised to find no SMTP support builtin because it's kinda the basis of email technology.
anyway, I'll see if I can make it my weekend project :)
from carbon.
Related Issues (20)
- Add default templates
- DSL like Lucky Framework
- SendInBlue adapter HOT 5
- Add inline docs
- Integrate with Pulsar HOT 1
- Extract SendGrid adapter into separate shard HOT 1
- DevAdapter print_email option should highlight links HOT 1
- Add LuckyCli Task for generating a new email
- Why is colorize undefined? HOT 4
- Short circuit email sending HOT 1
- README uses deliver_now incorrectly
- Adding before/after hooks for emails HOT 4
- be_delivered expectation fails when it shouldn't HOT 4
- Add layouts
- Generating a new email should detect if the word "Email" is included
- Consider changing how the layout is defined
- The layout filename should include the content type
- Send result HOT 2
- Main email is generating in the wrong directory
- `Carbon::Email` is no longer serializable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbon.