Changeset 1413 in ExiteCMS for trunk/register.php


Ignore:
Timestamp:
05/18/08 01:04:57 (4 years ago)
Author:
hverton
Message:

Fixed check for a valid email address by defining a CheckRecipient() function, which checks not only the SMTP return code, but also the message returned (to capture p.e. greylisting).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/register.php

    r1401 r1413  
    9999                        $error .= sprintf($locale['413'], $email_domain)."<br /><br />\n"; 
    100100                    } else { 
    101                         if (!$mail->Recipient($email)) { 
     101                        if (!$mail->CheckRecipient($email)) { 
    102102                            // mail server doesn't respond to RCPT TO message 
    103103                            $error .= sprintf($locale['414'], $email, $mailhost)."<br /><br />\n"; 
Note: See TracChangeset for help on using the changeset viewer.