Link to home
Start Free TrialLog in
Avatar of surfsista9
surfsista9

asked on

vbSendMail Virus Scan Issue

Hi,

I'm trying to use vbsendmail (freeware) to send emails from my app using smtp. Works fine on my personal computer, but at work having a problem with the virus protector. The app will be installed on a server and I cannot control the firewall nor the virus scan software.

How can I get around this?

thanks I'm quite at a loss....
Avatar of mugman21
mugman21

"and I cannot control the firewall nor the virus scan software. " - Simple answer, your going to have too. Smtp will be sending the mail out on port 25, so make sure your firewall allows outbound traffic on that port (it should already).

Second, regarding the antivirus, which version is it, what company makes it. (I'm guessing McAfee here for some reason). If this is a standalone application, I don't think there should be a problem. Most AV's only hook into the popular email clients. I don't ever recall seeing a TDI filter included in an AV product, then again, never really looked.

I've never used this vbsendmail control before and have no idea how it works, if it is using outlook automation, then that's probably what is triggering the AV. If that is the case, writting an SMTP engine yourself should solve the AV problem. There are plenty of open source smtp engines in VB on planetsourcecode.com.

Mugman
Avatar of surfsista9

ASKER

vbsendmail is using wsock32 -- it is a freeware dll not a control. Apparently what I've read this dll is very mature and used quite a bit.  I haven't looked at the source code yet, but possibly there is something I can modify so this can work with McAfee?

You are right the AV is McAfee.
Vbsendmail is not using outlook automation at all.
Sorry for the slow reply...

In that case, McAfee must include some sort of network filter (or it's hooking 'nasty like' as usual). McAfee is horrible about patching images in mem ect...

If there is no config option to disable the behavior that is giving your problems, don't try to defeat it. McAfee hooks so invasivly, you'll ultimatly make the system unstable if you try to bypass what it's doing. Remember, a large portion of it runs in kernel land, you can't compete on that level with VB.

The best way to get past this in my opinion would be to unistall McAfee. You can in turn install a different AV on this server, CA sucks but doesn't hook like McAfee does (at least not as bad).
Forgive my lack of knowledge...it seems I'm always stuck doing things I know little about. Do not ask me why...but, I'm curious how they are using smtp to send mail in other ways (other than wsock)  with McAfee. Somehow they must send mail using smtp. Guess I need to research.
ASKER CERTIFIED SOLUTION
Avatar of mugman21
mugman21

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the info.

Interestingly, it works on the server I needed it to work on (for another company) that has McAfee as well...so apparently they do not have this filter set. Eventually I will need to get this to work on the other company, so very interested in what you find out.

Surf