I am having trouble with SMTP servers I can not get the authentication to work.

here is my code, every thing works but this 1 thing.
http://pastebin.com/m7ecd57f2