Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mail system #3

Closed
bromagosa opened this issue Jan 24, 2018 · 6 comments
Closed

mail system #3

bromagosa opened this issue Jan 24, 2018 · 6 comments

Comments

@bromagosa
Copy link
Collaborator

No description provided.

@cycomachead
Copy link
Member

I think the best thing will probably be to use a 3rd party service.

Amazon SES and Mailgun are both reliable, pretty cheap and have simple lua wrappers. (The mailgun api is pretty easy, and SES is OK, but has an annoying auth flow, so that library is helpful)
https://github.com/leafo/lua-mailgun
https://github.com/paragasu/lua-resty-aws-email

@cycomachead
Copy link
Member

I can help once I figure out how to get my Mac running everything...

@bromagosa
Copy link
Collaborator Author

Hey, we got that working on the Beetle Cloud thanks to @backface, and he's done that before for the TurtleStitch site. As I said before, we just need an STMP provider, Lapis knows how to handle email, we don't need to use anything fancier (or more expensive) than that.

@cycomachead
Copy link
Member

I've got something setup.

@bromagosa
Copy link
Collaborator Author

I found a bunch of rocks that may be of use. These are the ones that seem to make things easier, and they are both designed to work in an Nginx/OpenResty installation:

https://github.com/athersharif/lua-resty-smtp

https://github.com/GUI/lua-resty-mail

I'll test them both today and see which one works better :)

@bromagosa
Copy link
Collaborator Author

Yay! lua-resty-mail was the way to go. The dev is the same that made lua-auto-ssl. I love this guy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants