This book introduces research on anti-spam techniques based on the artificial immune system (AIS) to identify and filter spam. It provides a single source of all anti-spam models and algorithms based on the AIS that have been proposed by the author for the past decade in various journals and conferences. It discusses key topics in AIS-based anti-spam techniques, including extraction methods, construction approaches, classifiers based on immune danger theory, and the immune-based dynamic algorithm. It also outlines strategies for designing and applying spam-filtering models.