The type of server,include:

SMTP:It is reliable that if your account and password are normal.You should fill the account name and password if you select the SMTP.

localhost:Not very reliable,but easy to setting.No matter the account belongs to which server.