Service/Mail.php
public function envoyerMailValiderNouvelUtilisateur($sUsername, $sNom, $sPrenom, $sMail, array $aListeAdmin) {
		$this->_swiftInstance->setSubject("Inscription d'un nouvel utilisateur");
		$addresses = array();
		foreach ($aListeAdmin as $aAdmin) {
			$this->_swiftInstance->addTo($aAdmin['email'], $aAdmin['username']);
			$addresses[] = $aAdmin['email'];
		}
		$this->_swiftInstance->addFrom($sMail, $sUsername)
			->setBody(
				$this->renderView(
					'GosylCommonBundle:Mail:newUserAlert.html.twig',
					array(
						'newUsername' => $sUsername,
						'newName' => $sNom,
						'newUserFirstname' => $sPrenom
					)
				),
				$this->_contentType,
				$this->_charset
			);
		
		$this->_swiftInstance->setReplyTo($addresses);
			
		$nbRecept = $this->_sendMail();
		if($nbRecept != count($aListeAdmin)) {
			return array('error' => true);
		} else {
			return array('error' => false);
		}
	}
public function envoyerMailValiderNouvelUtilisateur($sUsername, $sNom, $sPrenom, $sMail, array $aListeAdmin) {
		$this->_swiftInstance->setSubject("Inscription d'un nouvel utilisateur");
		$addresses = array();
		foreach ($aListeAdmin as $aAdmin) {
			$this->_swiftInstance->addTo($aAdmin['email'], $aAdmin['username']);
			$addresses[] = $aAdmin['email'];
		}
		$this->_swiftInstance->addFrom($sMail, $sUsername)
			->setBody(
				$this->renderView(
					'GosylCommonBundle:Mail:newUserAlert.html.twig',
					array(
						'newUsername' => $sUsername,
						'newName' => $sNom,
						'newUserFirstname' => $sPrenom
					)
				),
				$this->_contentType,
				$this->_charset
			);
		
		$this->_swiftInstance->setReplyTo($addresses);
			
		$nbRecept = $this->_sendMail();
		if($nbRecept != count($aListeAdmin)) {
			return array('error' => true);
		} else {
			return array('error' => false);
		}
	}
Envoi d'un mail à chaque admin du site lors d'une inscripion

@param string $sUsername
@param string $sNom
@param string $sPrenom
@param string $sMail
@param array $aListeAdmin
@return void