u can use google smtp server for test. it's free.set host = smtp.gmail.com and port = 465.make a new account in gmail and set username andpassword to it.set auth = true.set sslsocketfatory = true.u can find samples about it in internet.