how to send email use code with McAfee blocks it?

871 views Asked by At

no matter what language i use to send email programingly (like js,perl,php and so on),it always failed because McAfee blocks them. so i am wondering if we can send email even McAfee is installed on machine? or we can use another similar way to succeed to send mail to receiver?

1

There are 1 answers

1
Kyle On BEST ANSWER

Perl.exe sometimes has problems running at all with McAfee installed. You should be able to add Perl.exe to the exceptions in McAfee to correct that problem. If you still can't send mail from Perl after it has been added to the exceptions list, try to verify that McAfee doesn't have port 25 blocked. I believe all outbound mail is sent through port 25, SMTP. You should be able to open this up with McAfee as well, but that might be a security risk.

In my past experience, adding Perl.exe to the exceptions list resolves almost all problems with programmatically reaching out to the internet from Perl applications/scripts.