How to make McAfee cool sending mail from my workstation?

I am developing a server application and should periodically send mail for notifications to users.

MailMessage mm = new MailMessage();

mm.To.Add("me@domain.net");
mm.From = new MailAddress("you@domain.net");
mm.Subject = "J/K";
mm.Priority = MailPriority.Normal;
mm.IsBodyHtml = false;
mm.Body = "Greetings and salutations";

SmtpClient client = new SmtpClient("host.address.lcl");
client.Send(mm);

If I put the application on the actual server, it works fine, but on my workstation, depending on how I access the code, it either fails silently or throws an exception. In any case, McLogEvent is created:

Blocked by port blocking rule (Anti-virus Standard Protection:Prevent 
mass mailing worms from sending mail).

... and the exception says:

System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: 
Unable to connect to the remote server ---> System.Net.Sockets.SocketException: 
No connection could be made because the target machine actively refused it [IP & Port Numbers] 

It seems that the rule on my workstation works to prevent mail from being generated directly or indirectly, but I'm not sure what to do with the “actively refused” part, because if the McLogEvent text seems to suggest that it won't get there .

, System.Web.Mail, . , , , System.Net.Mail.

- , McAfee ?

+3
2

mcafee sys, McAfee VirusScan Console

"", " "

, 25.

edit - , , , , McAfee 25 -, , , 25 25.

, McAfee, , , - , .

+7

, EPO (McAfee ePolicy Orchestrator) . EPO, ​​( ) EPO.

+1

All Articles