Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function addPart(Email $email, EmailPart $part)
 {
     $addresses = $part->getAddresses();
     $email->setTo($addresses);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function addPart(Email $email, EmailPart $part)
 {
     $subject = $this->resolveSubject($part);
     $email->setSubject($subject);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function addPart(Email $email, EmailPart $part)
 {
     $address = $part->getAddress();
     $email->setBounce($address);
 }
Ejemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function addPart(Email $email, EmailPart $part)
 {
     $body = $this->resolveBody($part);
     $contentType = $part->getContentType();
     $email->addMessage(new EmailMessage($contentType, $body));
 }