haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.09k stars 661 forks source link

Receive email via POST #1509

Closed ricardopolo closed 8 years ago

ricardopolo commented 8 years ago

Hi. I want to know if Haraka has some it built it or via plugins like this:

We use mailgun/sendgrid to send emails from our websites. Those services are a little bit expensive.

They simply receive a HTTP POST and send a message through SMTP. So... maybe Haraka may allow us do something like that? Receive a http request, and send and email usingnodemailer?

I know I can implement my own Express website and send using nodemailer or something...

Thanks and regards :)

Dexus commented 8 years ago

Hi @ricardopolo,

You can create your own Plugin, that use the HTTP-Server that is buildin.

A Example for sending eMails internal with Haraka you can find here: http://haraka.github.io/manual/Outbound.html

More infos about how to create a plugin you can find here: http://haraka.github.io/manual.html And let you inspire by reading the other plugins, so you can create a Plugin that fits your needs.

Regards, Josef

baudehlo commented 8 years ago

Nothing built in but there is already a built in HTTP server using express so it would be trivial to implement.

On Jun 9, 2016, at 12:19 AM, Ricardo Polo notifications@github.com wrote:

Hi. I want to know if Haraka has some it built it or via plugins like this:

We use mailgun/sendgrid to send emails from our websites. Those services are a little bit expensive.

They simply receive a HTTP POST and send a message through SMTP. So... maybe Haraka may allow us do something like that? Receive a http request, and send and email usingnodemailer?

I know I can implement my own Express website and send using nodemailer or something...

Thanks and regards :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.