- Home /
Unity email subscription method.
Hey all!
I want to create an email subscription thing in my game that allows people to enter their email which gets saved into a database. I should then be able to send an email to all of the email addresses about certain game updates and various things. Like with a website.
I've searched everywhere but I can't find anything. Are there any tutorials that anyone knows about? This is a true necessity of the game.
Thanks in advance!
P.S. Any extra info needed will be given when asked for.
you say
Like with a website.
If this mean you know doing it with a website, you can use the class WWW to load a php page with a password that send the mail.
Sadly I don't, plus I don't know how to put websites into the game. I need a system that can access the database from in the game, then let me send an email to every address
I just check, and found this : http://answers.unity3d.com/questions/433283/how-to-send-email-with-c.html that could make it i believe :)
That is good, but it isn't quite what I need. I need something you might see on websites. Like the unity newsletter. If you enter your email, it is added to a database. Every email address in the database is then sent the same email.
This involves UI things as well. And a database.
You can store all the emails on a text file or xml file, or database. Then you just make a loop where you send the mail to all email you have in the database/txt file/xml file. This should work.
Your answer

Follow this Question
Related Questions
Accessing local system ( File Browser ) 2 Answers
Shop system isn’t working and I don’t know why 1 Answer
How to send a e-mail via smtp 0 Answers
Send HTML email to native email client 3 Answers