/**
  * will verify if each recipient should be getting this email
  */
 public function save(PropelPDO $con = null)
 {
     // before saving - remove all the recipients that are in the blocked_email list
     $recipient_list = explode(self::RECIPIENT_SEPARATOR, $this->recipient_email);
     $new_recipient_email = "";
     foreach ($recipient_list as $recipient) {
         if ($new_recipient_email != "") {
             $new_recipient_email .= self::RECIPIENT_SEPARATOR;
         }
         if (myBlockedEmailUtils::shouldSendEmail(trim($recipient))) {
             $new_recipient_email .= $recipient;
         }
     }
     $this->recipient_email = $new_recipient_email;
     if ($this->recipient_email != "") {
         if ($this->isNew()) {
             $this->setDc(kDataCenterMgr::getCurrentDcId());
         }
         parent::save($con);
     }
 }
 /**
  * Returns a peer instance associated with this om.
  *
  * Since Peer classes are not to have any instance attributes, this method returns the
  * same instance for all member of this class. The method could therefore
  * be static, but this would prevent one from overriding the behavior.
  *
  * @return     MailJobPeer
  */
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new MailJobPeer();
     }
     return self::$peer;
 }