apps/encryption/lib/Crypto/EncryptAll.php
/**
	 * create mail body for plain text and html mail
	 *
	 * @param string $password one-time encryption password
	 * @return array an array of the html mail body and the plain text mail body
	 */
create mail body for plain text and html mail
@param string $password one-time encryption password
@return array an array of the html mail body and the plain text mail body
create mail body for plain text and html mail @param string $password one - time encryption password @return array an array of the html mail body and the plain text mail body
protected function createMailBody($password) {
		$html = new \OC_Template("encryption", "mail", "");
		$html->assign ('password', $password);
		$htmlMail = $html->fetchPage();
		$plainText = new \OC_Template("encryption", "altmail", "");
		$plainText->assign ('password', $password);
		$plainTextMail = $plainText->fetchPage();
		return [$htmlMail, $plainTextMail];
	}
protected function createMailBody ( $ password ) { $ html = new \ OC_Template ( " encryption " , " mail " , " " ) ; $ html -> assign ( 'password' , $ password ) ; $ htmlMail = $ html -> fetchPage ( ) ; $ plainText = new \ OC_Template ( " encryption " , " altmail " , " " ) ; $ plainText -> assign ( 'password' , $ password ) ; $ plainTextMail = $ plainText -> fetchPage ( ) ; return [ $ htmlMail , $ plainTextMail ] ; }
create mail body for plain text and html mail
 @param string $password one-time encryption password
 @return array an array of the html mail body and the plain text mail body
create mail body for plain text and html mail @param string $password one - time encryption password @return array an array of the html mail body and the plain text mail body