Hi there, all you need to do is SSH in, and just do this:
nano containers/app.yml
That will open up the text editor to change the SMTP details.
Then, you can run:
cd /var/discourse
./launcher destroy app
./launcher start app
for the changes to take effect.
A simpler way would be to run ./discourse-setup again, and fill out the details again.