code: public function addAttachment($attachment) {
      if (!file_exists($attachment)) {
        pines_error('Invalid attachment.');
        return false;
      }
      $this->attachments[] = $attachment;
      return true;
    }
docs: Add new attachment.
  
  @param string $attachment The attachment filename.
  @return bool True on success, false on failure.