I was wondering what the best way to send an email from the server would be. I tried to use the LuaSocket SMTP module, but the server doesn’t actually contain LuaSocket to my knowledge. I’m guessing that I would need some sort of network implementation or calling a Linux script or something of the sort directly. Ideally it wouldn’t be caught by spam filters, but that is likely going to come from DNS settings (which I still need to do some more research about).
What do you guys suggest?
Edit: The server does contain LuaSocket in the “luajit” folder… Just need to figure out how to require it.
Double Edit: I’m not so sure why I didn’t try require(“socket.smtp”) earlier, but it works… I feel really stupid.