diff --git a/resources/example.php b/resources/example.php
index e23707e1..3976b834 100644
--- a/resources/example.php
+++ b/resources/example.php
@@ -8,7 +8,6 @@ define('LARGE_LIMIT',131072);
 $subject="OpenPGP.js Example";
 $to="alex@openpgpjs.org";
 $headers = "From: OpenPGP.js Example <noreply@openpgpjs.org>\r\n";
-$mail = "$message";
 /* -------------------------------------------------------------------------- */
 
 /* input -------------------------------------------------------------------- */
@@ -25,4 +24,3 @@ mail($to, $subject, $message, $headers);
 /* Redirect browser */
 header("Location: http://openpgpjs.org");
 ?>
-