I am using following code to send mail.
(1) Its working fine on the server where Internet in connected but gives error on client machine. error is " COULD NOT CONNECT TO THE SERVER smtp.gmail.com".
Client is connected to the server with LAN and it order to use the internet on client machine, I have to give the proxy user-id and password i.e. user-id=user and password=user (proxy settings)
May be because of this? how can I soulve the problem?
(2) Another problem is that if I am using the code in my personal home computer, where I am using the "Reliance Net Connect" to access the Internet, what is the server IP I have to specify in server.
If I am specifying "localhost" mail placed in Queue folder (C://In ...
Go to the complete details ...