When you configure the email address you are sending from, you need to fill out certain info. The SMTP server used and port number.
e.g. for GMail:
Code:
hostname (SMTP server): ----- smtp.gmail.com
port: ----------------------- 587
username: ------------------- somebody@gmail.com