Sorry you’re having problems. Can you DM me with more info such as what end this error is coming from, as well as the code you’re using on both sides?
Sorry for yet another bump!
You never clarified what your problem was, and I’m having this same issue. Could you please elaborate what your issue was, and how you solved it? Thank you!
When players send their email, are they using their own email? Can’t players check their “sent” emails, acquire the game-owner’s email address, and you risk a security breach?
No, that’s not how this works. It sends you the email coming from your address. This just allows you to do it automatically for data collection purposes.
Missed opportunity to call the service “Rmail” or something like that.
I managed to fix it myself, I forgot to use string.format() on my subject (I rewrote some of the code for personal use).
Would still be nice if you could talk about how your issue was fixed though, in case anyone else runs into this problem
also, nice job on the tutorial!
Sure! I was having issues executing the email, even using the exact same script, with my own key. I kept getting that error I put in a screenshot. It turns out my google project needed to be set to Anyone can access, just like the post said.
Glad you got it working. Enjoy using the module!
Yeah, I think it’s like a Discord webhook thing but with emails.
Interesting, I was wondering if they use Gmail. I also used this for my game and it worked, so thank you for giving the piece of code.
In the module, it is saying the “Result” in Result = HttpService:GetAsync(Url .. "?q="..game.HttpService:JSONEncode({Email, Subject, Message}))
is not a mentioned variable anywhere. I looked and it is not mentioned in the script. What should I do?
Add an unset variable.
local Result
local Success, ErrorStatement = pcall(function()
Result = HttpService:GetAsync(Url .. "?q="..game.HttpService:JSONEncode({Email, Subject, Message}))
end)
Thanks! I don’t know why I didn’t think of that
is there any way to send emails with HTML Markup? I’m pretty sure this system only sends normal text and doesn’t have HTML support
i would want to send emails with 3x4 tables or bars or other images etc.
This is nice, but after a few minutes, the emails auto-delete! Why is that?