When you are editing the page ion Dreamweaver, go to the server behaviors panel, Window -> Server Behaviors, and double click the Universal Email server behavior to edit it. The first step of the Universal Email Wizard allows you to set the Email Object, on this step, you also set the Username and Password for connecting to the SMTP server.