The thesis deals with unsolicited mail known as spam. Its main goal is to present the most widely used current methods of protection against spam and their practical application to achieve the highest possible efficiency. This study aims to find the optimal combination of protection for regular electronic mailbox. In the first part is discussed the history, reasons for the emergence and expansion of mass spam. Furthermore are introduced different types of spam, which differ with their purpose and also their dangerousness. At the end of the first part are presented global statistics for the year 2009, along with estimated total annual cost devoted to fighting spam. Mentioned are the current trends and possible future development of spam. In ...