I try before but when I set the port at 25 it gave me an error so I use 110 and I Haven't that error but not work neither. so now I am testing it in localhost. It's work in localhost or I have to work in a server? so to answer your question my hosting provider is Liquinet.
This is the error I got when I use port 25: Email failed to send. Please confirm your email settings with your hosting provider.