File: Web.Config To connect to a mail server located on another machineFile: Web.Config host="mail.YourServer.com" userName="admin" password="secret" />