Welp, I've figured out how to get ints in to Java a little easier. All I had to do was use a message like "Port 25" sent in, and it assigns itself. No list.replace required.
However, I've been having a new problem. Since I share my project online, I'd like to make it work anybody's mail options. I've gotten it to work with Gmail and google-apps based emails. I started to test it with a hotmail account, but it isn't working. I get an error that asks if I have "Plaintext Connection?" - from what I read, this is meaning that the TLS handshake isn't working, or that for some reason, it doesn't recognize the SSL connection. Here is what my java is using for authentication, I think:
//Deliver Mail Function
public void deliver() {
//Get System Properties object
Properties props = System.getProperties();
//Enable TLS
props.put( "mail.smtp.starttls.enable", "true");
// Define properties
props.put( "mail.transport.protocol", "smtps" );
props.put( "mail.smtp.host", "host" );
props.put( "mail.smtp.auth", "true" );