Captain07 Posted July 17, 2021 Share Posted July 17, 2021 Hello, I need to make a script that can send an email to the player's email address. Is this possible? How should I start writing this script? Thanks for reading! Link to comment
iDannz Posted July 17, 2021 Share Posted July 17, 2021 Hello Captain07, how are you? First, you will have to configure a web-api (or use other common services like mailchimp or sendinblue) that will handle the requests, and then you will have to use fetchRemote (server-side) to tell the API to send the email using the parameters sent by your mta server. If you want to set up your own email service, I would recommend the PHP's own email sending, or if you are more familiar with javascript using node, you can use a module called "nodemailer" (there may be several other modules, but IHMO this is the best) Anyway, there are several tutorials on the internet on how to create a mail server, it might be worth learning, good luck. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now