lib/mail/Mail.php
public function setSpamCheck($enable = null, $threshold = null, $post_to_url = null)
    {
        if (!$this->mail_settings instanceof MailSettings) {
            $this->mail_settings = new MailSettings();
        }
        $this->mail_settings->setSpamCheck($enable, $threshold, $post_to_url);
    }
public function setSpamCheck($enable = null, $threshold = null, $post_to_url = null)
    {
        if (!$this->mail_settings instanceof MailSettings) {
            $this->mail_settings = new MailSettings();
        }
        $this->mail_settings->setSpamCheck($enable, $threshold, $post_to_url);
    }
public function setSpamCheck ( $ enable = null , $ threshold = null , $ post_to_url = null ) { if ( ! $ this -> mail_settings instanceof MailSettings ) { $ this -> mail_settings = new MailSettings ( ) ; } $ this -> mail_settings -> setSpamCheck ( $ enable , $ threshold , $ post_to_url ) ; }
Set the spam check settings on a MailSettings object

@param bool|SpamCheck $enable A SpamCheck object or a boolean
to determine if this setting is active
@param int|null $threshold The threshold used to determine if your
content qualifies as spam on a scale from
1 to 10, with 10 being most strict, or
most likely to be considered as spam
@param string|null $post_to_url An Inbound Parse URL that you would like
a copy of your email along with the spam
report to be sent to
Set the spam check settings on a MailSettings object