i tried using localhost port 25 in the cloud but i do not receive the emails i try to send through the application. can anyone help me figure out how to get this to work?
I'm not sure if you can use Localhost on the cloud deployment server.
I use sendgrid to separate SMTP server concerns from my apps. Sign up for a free account here: Sendgrid
Use the SMTP details provided. If it still fails, it might be an issue with cloud security. Can you check in the ADV Mail sent messages overview and see if they were successfully sent? If they fail, can you post the Java stacktrace log it provides so that I can further assist.