public function configure(array $data) 
	{
		$this->checkData($data);
		$body = new MimeMessage();
		$body->addPart($this->getPart($data));
		$this->setBody($body);

		$this->addTo($data['to']);
		//$this->addReplyTo($data['from']);
		$this->setSubject(utf8_decode($this->subject));
		
		return $this;
	}
public function configure(array $data) 
	{
		$this->checkData($data);
		$body = new MimeMessage();
		$body->addPart($this->getPart($data));
		$this->setBody($body);

		$this->addTo($data['to']);
		//$this->addReplyTo($data['from']);
		$this->setSubject(utf8_decode($this->subject));
		
		return $this;
	}
public function configure ( array $ data ) { $ this -> checkData ( $ data ) ; $ body = new MimeMessage ( ) ; $ body -> addPart ( $ this -> getPart ( $ data ) ) ; $ this -> setBody ( $ body ) ; $ this -> addTo ( $ data [ 'to' ] ) ; //$this->addReplyTo($data['from']); $ this -> setSubject ( utf8_decode ( $ this -> subject ) ) ; return $ this ; }
Configure amil message with passed data

@throws \Exception
@param array $data
@return \Mailer\Mail\ClassifiedAnswer
Configure amil message with passed data