Changeset 1413 in ExiteCMS for trunk/edit_profile.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/edit_profile.php

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