HelenaToDev Posted January 1, 2022 Share Posted January 1, 2022 First, I apologize for my English. I would really like to understand how the engine's password recovery system works, as I always configure everything correctly, as it always returns an error or simply doesn't send it to the player. Is the system buggy? Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 The system its working fine for me What is the error you've? Maybe i can help u HelenaToDev 1 Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 I tried using gmail too but maybe I'm setting it wrong, can you help me with what I'm wrong? Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 7 minutes ago, HelenaToDev said: I tried using gmail too but maybe I'm setting it wrong, can you help me with what I'm wrong? Try enable the less secure apps and try again to restore your passwordhttps://myaccount.google.com/u/3/lesssecureapps <--- Here+ (The less secure apps needs to be from your Proyect Gmail account) Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 https://prnt.sc/25m0og6  Changed to less secure.  My settings   "SmtpSettings": {   "FromAddress": "suporte.vinafluer@gmail.com",   "FromName": "Suporte - Vina Fluer",   "Host": "smtp.gmail.com",   "Port": 465,   "UseSsl": false,   "Username": "suporte.vinafluer@gmail.com",   "Password": "me password"  whats wrong?   Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 1 minute ago, HelenaToDev said: "SmtpSettings": {   "FromAddress": "suporte.vinafluer@gmail.com",   "FromName": "Suporte - Vina Fluer",   "Host": "smtp.gmail.com",   "Port": 465, <--- This to 587   "UseSsl": false, <--- This change to True   "Username": "suporte.vinafluer@gmail.com",   "Password": "me password"  Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 I tried with these changes, but it still didn't work. Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 Just now, HelenaToDev said: I tried with these changes, but it still didn't work. Strange, with all the configs that i said the system will work fine You've restarted the server? Can you give me a screenshot of the error on your server? Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 Bcause there is my configs:  Spoiler  "SmtpSettings": {   "FromAddress": "inmortaltower@gmail.com",   "FromName": "Inmortal Tower",   "Host": "smtp.gmail.com",   "Port": 587,   "UseSsl": true,   "Username": "inmortaltower@gmail.com",   "Password": "MyPassword"  }, and i have the less secure apps enabled for "inmortaltower@gmail.com"  The server will give to you an error if anything goes wrong, but for apply correctly the changes you need to restart the server, and maybe with that will work fine Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 Ive tested my configs on this website https://www.gmass.co/smtp-test And it worked, but on console of the engine, no errors appear, not even in logs Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 15 minutes ago, HelenaToDev said: but on console of the engine, no errors appear, not even in logs A If you dont have errors on the console the system its working fine xD Maybe you'll need to view on the spam box or eliminated emails (If you try to restore your password, and NO ERRORS APPEAR ON THE CONSOLE, means the email was sended succesfully to the email) But, if you have a big error on the console, that means, the system doesn't was configured correctly So, i think you've the possible next problems: You had maked your account with any error on the email to restore (i.e: suportee.vinafluer@gmail.com / sporte.vinafluer@gmail.com) You didn't check your spambox or the eliminated folder on your email to restore The possibles solutions i'have for you: 1) Try making a new account on your engine with a new email, and try to restore to that email (You can do the new acc with my email too : kamusvalenzuela2@gmail.com) 1-b) if you use my email i'll check if the email its sended correctly to me 2) I know it will sound repetitive, but check your spam and deleted mail box  i'll be here if you need more help  Here's another example: Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 Yes, I also checked the Spam box, created any email, created an account in the game and then tried to reset the password... Nothing was sent to the registered email, I'm going crazy, he's getting lost in limbo. I've already checked if my VPS is blocking any outbound ports, but nothing is blocking Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 Hell, it's weird, if the email was blocked by the VPS the console would throw an error. But the email seems to come out, and as you say "It stays in limbo" i don't know how to help you better HelenaToDev 1 Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 Your operating system where your server is hosted, is it Windows or Linux? Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 3 minutes ago, HelenaToDev said: is it Windows or Linux? Windows, i have a own PC dedicated to hosting the game here on Argentina Bcause i had a lot of problems with the VPS (The only one who was worked fine for me, was the Hosting of JC)  Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 1, 2022 Author Share Posted January 1, 2022 Sure, I'm using Microsoft Azure, but it's a little expensive, but I'm suspecting that it's the hosting that's blocking emails... Link to comment Share on other sites More sharing options...
0 Kamus Posted January 1, 2022 Share Posted January 1, 2022 1 minute ago, HelenaToDev said: but I'm suspecting that it's the hosting that's blocking emails... Me too if you want i can help u to test the server with my private hosting pc (Its safe, don't worry) Â PS: For security reasons, all tests must be private for the confidentiality of some data. The test will undoubtedly be about the "Blocking" of your VPS (but we are 95% sure without this test, that it is your VPS that blocks the emails) Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted January 2, 2022 Author Share Posted January 2, 2022 Ive made a simple code to test in VPS if email system is blocking.  Quote using System; using System.Net; using System.Net.Mail; using System.Text; namespace EnviarEmails {   class Program   {     static void Main(string[] args)     {       Console.WriteLine("Digite seu e-mail:");       string email = Console.ReadLine();       Console.WriteLine("Digite sua senha:");       string senha = Console.ReadLine();       Console.WriteLine("Digite para quem quer enviar:");       string emailDestinatario = Console.ReadLine();       Console.WriteLine("Digite o TÃtulo do Email:");       string titulo = Console.ReadLine();       Console.WriteLine("Digite a mensagem:");       string mensagem = Console.ReadLine();       Console.WriteLine("Aperte ENTER para enviar");       Console.ReadLine();       try       {         MailMessage mailMessage = new MailMessage(email, emailDestinatario);         mailMessage.Subject = $"{titulo}";         mailMessage.IsBodyHtml = true;         mailMessage.Body = $"<p> {mensagem} </p>";         mailMessage.SubjectEncoding = Encoding.GetEncoding("UTF-8");         mailMessage.BodyEncoding = Encoding.GetEncoding("UTF-8");         SmtpClient smtpClient = new SmtpClient("smtp.gmail.com", 587);         smtpClient.UseDefaultCredentials = false;         smtpClient.Credentials = new NetworkCredential(email, senha);         smtpClient.EnableSsl = true;         smtpClient.Send(mailMessage);         Console.WriteLine("Seu email foi enviado com sucesso! :)");         Console.ReadLine();       }       catch (Exception)       {         Console.WriteLine("Houve um erro no envio do email :(");         Console.ReadLine();       }     }   } }  And when I open the program on the VPS, I can send an email normally through port 587 Link to comment Share on other sites More sharing options...
0 Worldofjimmy Posted February 1, 2022 Share Posted February 1, 2022 (edited) I tested this too but its not working for me. I tried the same config but my credentials but seems to not be sending from the server? I use JC hosting. I use 0.7.0.126. Any suggestions? Â Â "SmtpSettings": { Â Â "FromAddress": "crelasia@gmail.com", Â Â "FromName": "Crelasia Admin", Â Â "Host": "smtp.gmail.com", Â Â "Port": 587, Â Â "UseSsl": true, Â Â "Username": "crelasia@gmail.com", Â Â "Password": "verysecretpassword" Â }, Â Update: After lots of testing I narrowed down to the mail is not received by hotmail accounts, gmail accounts and other works. Â Â Edited February 1, 2022 by Worldofjimmy Update HelenaToDev 1 Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted February 1, 2022 Author Share Posted February 1, 2022 3 hours ago, Worldofjimmy said: I tested this too but its not working for me. I tried the same config but my credentials but seems to not be sending from the server? I use JC hosting. I use 0.7.0.126. Any suggestions? Â Â "SmtpSettings": { Â Â "FromAddress": "crelasia@gmail.com", Â Â "FromName": "Crelasia Admin", Â Â "Host": "smtp.gmail.com", Â Â "Port": 587, Â Â "UseSsl": true, Â Â "Username": "crelasia@gmail.com", Â Â "Password": "verysecretpassword" Â }, Â Update: After lots of testing I narrowed down to the mail is not received by hotmail accounts, gmail accounts and other works. Â Â I already suspected that, I'll test it here Link to comment Share on other sites More sharing options...
0 HelenaToDev Posted February 1, 2022 Author Share Posted February 1, 2022 it's not a gmail limitation (I tested it using other email sending programs) it seems to be a problem with the engine, with hotmail domains, which simply go to limbo. Link to comment Share on other sites More sharing options...
Question
HelenaToDev
First, I apologize for my English.
I would really like to understand how the engine's password recovery system works, as I always configure everything correctly, as it always returns an error or simply doesn't send it to the player.
Is the system buggy?
Link to comment
Share on other sites
20 answers to this question
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