diff --git a/includes/account.php b/includes/account.php index fcdc4b4..f14c3cf 100644 --- a/includes/account.php +++ b/includes/account.php @@ -57,7 +57,12 @@ if($checkemail != "OK") { showheader(_("My CAcert.org Account!")); - echo "
"._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n"; + if (substr($checkemail, 0, 1) == "4") + { + echo ""._("The mail server responsible for your domain indicated a temporary failure. This may be due to anti-SPAM measures, such as \"greylisting\". Please try again in a few minutes.")."
\n"; + } else { + echo ""._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n"; + } echo "$checkemail
\n"; showfooter(); exit; @@ -475,7 +480,13 @@ if($checkemail != "OK") { showheader(_("My CAcert.org Account!")); - echo ""._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n"; + //echo ""._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n"; + if (substr($checkemail, 0, 1) == "4") + { + echo ""._("The mail server responsible for your domain indicated a temporary failure. This may be due to anti-SPAM measures, such as \"greylisting\". Please try again in a few minutes.")."
\n"; + } else { + echo ""._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n"; + } echo "$checkemail
\n"; showfooter(); exit;