src/Mail.php
public function addAttachment($attachment) {
    if (!file_exists($attachment)) {
      pines_error('Invalid attachment.');
      return false;
    }
    $this->attachments[] = $attachment;
    return true;
  }
public function addAttachment($attachment) {
    if (!file_exists($attachment)) {
      pines_error('Invalid attachment.');
      return false;
    }
    $this->attachments[] = $attachment;
    return true;
  }
Add new attachment.

@param string $attachment The attachment filename.
@return bool True on success, false on failure.