Added TTL pharameter in server configuration
added handling of new ttl pharameter in the javamail configuration