Use external email server

Our parent institution does not allow us to send mail directly from our web server. Instead we route everything through a central SMTP server. Is there a place in the code where I can set the SMTP server and port?

Thanks for your help.