Email.php: smtpapi method is addFilter and not addFilterSetting

After looking at the smtpapi source, i see that this method does not exist...