I’m trying to configure the reporting issues but I am running into some errors when I am testing when I click on the submit button. I think that my configuration is not right. The only thing I have configured is the mail-to-address.
I am unclear on what, if any, changes I need to make to the code snippet shown in the above pages example.
Indeed, you must make some changes to the spring: mail: settings.
To allow Shinyproxy to send out mails, it must have credentials so it can access an SMTP server.
It is possible to use your gmail account for this. Then you have 2 options:
Configure your gmail username and password in the settings. You must also set port: 587 and mail.smtp.starttls.enable: true
This is a less secure approach, and Google will require you to allow this via the ‘less secure apps’ setting: https://myaccount.google.com/lesssecureapps
I am using ShinyProxy 3.0.2 and I cannot configure the Report Issue via smtp. I have this configured and working correctly in Keycloak, so I know my host, username, password, and starttls is configured correctly.
In my ShinyProxy log, I am told smtp is not correctly configured. Any ideas? Note that I could not find options for tls, protocol, and mail.smtp.trust in the help documentation, which was referenced above (possibly applicable to an older version of shinyproxy).
Here is my application.yml content related to the question:
proxy:
support:
mail-to-address: my_email@org
mail-from-address: my_email@org
Thank you Alok_Kr_Singh for your response. I realized I had the spring block of code nested under proxy, when it should not have been. Also, apologies for not formatting the code in my post correctly; I recently signed up to this list and I did not realize my mistake until after posted. I have provided the code below in case my solution helps someone else. thank you!
Here is my application.yml content related to the question: