Click here to Skip to main content
15,924,367 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am using this code for sending email

Email and SMS Sending Through VB.NET for Free

This code is running properly at local server but when
i have uploaded my code to web server. It gives me error(No connection could be made because the target machine actively refused it XX.XXX.XXX.XXX:XXXX )






whats the solution??
Thanks


[Edited]Changed the IP address to XX.XXX Format. [/Edited]
Posted
Updated 23-Sep-10 4:07am
v2

Your e-mail server don't allow your machine to connect.

This could either be a firewall issue or configured on the SMTP server itself.

Regards
Uwe
 
Share this answer
 
This is the connectevity issue with your Web Server with the Email server. Please check the connection, atlest your are able to ping it.
 
Share this answer
 
Comments
niravsahayata 23-Sep-10 10:55am    
hi ..i can ping the ip address.
does it means connectivity with server is ok???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900