While anti-virus software can help to protect your computer from malware delivered via email, it is not specifically designed to block spam. Using anti-spam software in addition to anti-virus software can provide an extra layer of protection against unwanted and harmful emails.