veraltete filter_var () phpmailer

If you get that error, just upgrade to new version of PHPMailer:
https://github.com/PHPMailer/PHPMailer
Ivan The Terrible