Is There A Way To Change Default Port For Smtp Emails On Cs-Cart

I am running CS cart multivendor on an EC2 instance. I am trying to use AWS's SES to send emails through SMTP from CS-Cart. I noticed that when I input the SMTP details the application is timing out and failing to connect to the mail server.

After some digging, it seems that EC2 instances on AWS automatically restrict port 25, which I'm guessing is the default port that CS-cart is using. So is there a way to change the port CS-cart connects to?