Service/Mail.php
public function envoyerMailCompteValide(ParamUsers $oInfoUser, ParamUsers $oUserAdmin) {
		$this->_swiftInstance->setSubject("Validation de votre compte");
		
		$sUsername = $oInfoUser->getUsername();
		$sEmail = $oInfoUser->getEmail();
		
		$this->_swiftInstance->setFrom($oUserAdmin->getEmail(), $oUserAdmin->getUsername());
		
		$this->_swiftInstance->setTo($sEmail, $sUsername)
			 ->setBody(
			 	$this->renderView(
			 		'GosylCommonBundle:Mail:userIsValid.html.twig',
			 		array(
			 			'username' => $sUsername
			 		)
			 	),
			 	$this->_contentType,
			 	$this->_charset
			 );
		
		$this->_sendMail();
	}
public function envoyerMailCompteValide(ParamUsers $oInfoUser, ParamUsers $oUserAdmin) {
		$this->_swiftInstance->setSubject("Validation de votre compte");
		
		$sUsername = $oInfoUser->getUsername();
		$sEmail = $oInfoUser->getEmail();
		
		$this->_swiftInstance->setFrom($oUserAdmin->getEmail(), $oUserAdmin->getUsername());
		
		$this->_swiftInstance->setTo($sEmail, $sUsername)
			 ->setBody(
			 	$this->renderView(
			 		'GosylCommonBundle:Mail:userIsValid.html.twig',
			 		array(
			 			'username' => $sUsername
			 		)
			 	),
			 	$this->_contentType,
			 	$this->_charset
			 );
		
		$this->_sendMail();
	}
Envoi d'un mail d'information à un utilisateur - Compte activé

@param ParamUsers $oInfoUser
@param ParamUsers $oUserAdmin