I am using the following
test program to send mail.It works fine inside the corporate network e-mail ids but when same program tries to send mail outside network like on gmail.com then it says that unable to relay for the e-mail address
Does any one has idea if it is due to bad code or some firewall issues
thanks
Exception is