public function getEmailBodyContent()
    {
        if ($this->SendPlain) {
            return DBField::create_field('HTMLText', $this->EmailBody)->Plain();
        }
        return DBField::create_field('HTMLText', $this->EmailBodyHtml);
    }
public function getEmailBodyContent()
    {
        if ($this->SendPlain) {
            return DBField::create_field('HTMLText', $this->EmailBody)->Plain();
        }
        return DBField::create_field('HTMLText', $this->EmailBodyHtml);
    }
public function getEmailBodyContent ( ) { if ( $ this -> SendPlain ) { return DBField :: create_field ( 'HTMLText' , $ this -> EmailBody ) -> Plain ( ) ; } return DBField :: create_field ( 'HTMLText' , $ this -> EmailBodyHtml ) ; }
Get the email body for the current email format

@return string
Get the email body for the current email format