By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,365 Members | 1,245 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,365 IT Pros & Developers. It's quick & easy.

WinSock Firewall Blocks Send Email Function

Frinavale
Expert Mod 5K+
P: 9,731
Hi there,

I'm currently using VB .Net to develop a web application that sends emails periodically. Everything works fine in the test environment but not on the real server.

After reviewing the Windows Event log I discovered that our WinSock firewall is preventing my application from sending emails. There is no way to turn off this firewall so I have to work around it.

Since the web-app works in the test environment, I'm sure there's a way to get it to work on the real server as well. I'm assuming that the test environment doesn't use the ASPNET user account; instead it uses the account credentials that I'm logged into while developing and so it has permissions to send emails.

So what I'd like to do is impersonate the user that has permissions to send emails. I've tried just about everything to do this, and while everything always works in the test environment, nothing ever works on the real server.

Could someone point me in the right direction?


Thanks in advanced
-F
Dec 27 '06 #1
Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
After further attempts at getting around the WinSock firewall blockage I have encountered a new error. The error is:
"A socket operation encountered a dead network"....

I believe that it is linked to the same problem. It is still working in the test environment.

I am seriously at a loss on how to get around this issue.

Any help at all would be appreciated.

Thanks again.

-F
Dec 27 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.