<?php

$mailFile = "inscripcion_causa.php";
$replacementsForgotPassword = array("@change_password_link" => "https://google.com", "@footer_image" => get("info_footer_image", 1, 1, OPCIONES_MAILINGS));
$replacementsInscripcionPlataforma = array("@inscribete_link" => get_permalink(EXPLORA_CAUSAS), "@footer_image" => get("info_footer_image", 1, 1, OPCIONES_MAILINGS));
$replacementsInscripcionCausa = array("@nombre_causa" => "My nombre", "@descripcion_causa" => "My description", "@link_causa" => "google.com", "@nombre_usuario" => "yo ajua", "@footer_image" => get("info_subscripcion_causa_footer_image", 1, 1, OPCIONES_MAILINGS));
$replacements = $replacementsInscripcionCausa;
$yeah = GafaMailer::Instance()->SendEmail("*****@*****.**", "Testeo Forgot Password", $mailFile, $replacements);
echo GafaMailer::Instance()->GetEmailHtml($mailFile, $replacements);
Beispiel #2
0
function mail_password_reset_request($email, $url)
{
    $replacements = array("@change_password_link" => $url, "@footer_image" => get("info_footer_image", 1, 1, OPCIONES_MAILINGS));
    return GafaMailer::Instance()->SendEmail($email, "Recupearar contraseña - Operación Despierta", "forgot_password.php", $replacements);
}