[Use your browser's back button to return to message form]
59
[".tra("Use your browser's back button to return to message form")."]
60
60
";
61
61
page_tail();
62
62
} else {
63
page_head("Sending emails");
63
page_head(tra("Sending emails"));
64
64
$found = false;
65
65
for ($i=0; $i<5; $i++) {
66
66
$n = get_str("n$i", true);
81
81
$mail->Host = $PHPMAILER_HOST;
82
82
$mail->Mailer = $PHPMAILER_MAILER;
83
83
if ($mail->Send()) {
84
echo "<br>email sent successfully to $e\n";
84
echo "<br>".tra("email sent successfully to %1", $e)."\n";
85
85
} else {
86
echo "<br>failed to send email to $e: $mail->ErrorInfo\n";
86
echo "<br>".tra("failed to send email to %1: %2", $e, $mail->ErrorInfo)."\n";
87
87
}
88
88
}
89
89
}
90
90
if ($found) {
91
91
echo "
92
<p>
93
Thanks for telling your friends about ".PROJECT.".
94
";
92
<p>".tra("Thanks for telling your friends about %1", PROJECT);
95
93
} else {
96
echo "
97
You forgot to enter your friends' names and/or email addresses;
98
Please <a href=ffmail_form.php>return to the form</a>
99
and enter them.
100
";
94
echo tra("You forgot to enter your friends' names and/or email addresses; Please %1return to the form%2 and enter them.", "<a href=ffmail_form.php>", "</a>");