SMTP validation not working November 08, 2019, 12:43:03 PM Hi!I'd like validate e-mail address under registration, but the system don't send e-mail. GMail don't good alternative. Quote Selected
Re: SMTP validation not working Reply #1 – November 08, 2019, 12:52:52 PM Why no choose some smtp server to send ? , Mailgun have 10,000 mail by month free first plan (Concept)Mailgun SMTP ServerCya Quote Selected
Re: SMTP validation not working Reply #2 – November 08, 2019, 02:05:02 PM My app run in a intranet server. No external connection. Quote Selected
Re: SMTP validation not working Reply #3 – November 08, 2019, 05:08:23 PM @machobymb for SMTP to work you need an internet connection, if you have a mail server on your intranet then you can use its SMTP settings. Quote Selected
Re: SMTP validation not working Reply #4 – November 08, 2019, 06:10:20 PM I tested this function with fake smtp (smtp4dev: https://github.com/rnwood/smtp4dev), thats work fine. If I will copy to my intranet server, then the app will run perfect (with SMTP auth)? I don't want to come mucker, when I update the app on Monday. Quote Selected Last Edit: November 08, 2019, 06:15:48 PM by machobymb
Re: SMTP validation not working Reply #5 – November 08, 2019, 06:30:47 PM @machobymb yes, it should work on your phprad generated app. The phprad generated app only needs a mail server to send emails through if the app you provided above works properly as a mail server then you have no problem. Quote Selected Last Edit: November 08, 2019, 06:34:57 PM by willvin
Re: SMTP validation not working Reply #6 – November 11, 2019, 08:48:04 AM SMTP sending don't run in my real server. How can I enable TLS or SSL in config.php? Quote Selected
Re: SMTP validation not working Reply #7 – November 11, 2019, 07:13:40 PM @machobymb please what do you mean by your "real server"? Quote Selected
Re: SMTP validation not working Reply #8 – November 11, 2019, 07:30:13 PM My app is run on a CentOS server. The SMTP server is a other server on my network. I set the server ip, the port, the user name and the password in the config.php.If I send mail from Python script, then sending is correct. The settings are the same. Quote Selected Last Edit: November 11, 2019, 07:44:03 PM by machobymb
Re: SMTP validation not working Reply #9 – November 11, 2019, 08:28:47 PM @machobymb please use your Gmail account, if you don't have, create one and see if it works.Gmail SMTP settingsGmail SMTP server address: smtp.gmail.comGmail SMTP username: Your Gmail address (for example, example@gmail.com)Gmail SMTP password: Your Gmail passwordGmail SMTP port (TLS): 587Gmail SMTP port (SSL): 465 Quote Selected
Re: SMTP validation not working Reply #10 – November 11, 2019, 10:28:27 PM Unfortunately, you can't send mail with your Gmail settings.Can I modify ecryption settings (SSL/TLS)? Quote Selected Last Edit: November 11, 2019, 11:39:52 PM by machobymb
Re: SMTP validation not working Reply #11 – November 11, 2019, 11:54:28 PM @machobymb yes you can. it will ask for your permission via mail to allow sending mail through it. I have used it in testing my mails to know where my errors are coming from, if it doesn't work with Gmail the error would be from the generated app, if it works with Gmail then your server still has an issue sending mails via SMTP. Quote Selected
Re: SMTP validation not working Reply #12 – November 12, 2019, 12:02:23 AM I did not receive the permission request email. Can I monitor where the problem is? Quote Selected
Re: SMTP validation not working Reply #13 – November 12, 2019, 12:10:13 AM The permission request will come in as an email in the Gmail account you are using. Quote Selected
Re: SMTP validation not working Reply #14 – November 12, 2019, 11:55:14 AM I didn't receive any email with any port settings. Quote Selected