In the Universal Email wizard (Go to Window -> Server Behaviors and double click the Universal Email server behavior) you can you can click the Envelope icon to specify the SMTP server address and port. If these are left blank, it will use the defaults set in the php.ini file.
if you want to send the email through your smtp server, you will need to enter the correct address and port number.


