Help for this page

Select Code to Download


  1. or download this
    return _result(CU_SMTP_UNREACHABLE,
                           'Cannot connect SMTP servers: ' .
    ...
        $ok = 1 if $code == CU_OK;
        $ok = 1 if $code == CU_SMTP_UNREACHABLE;
    ...
    
  2. or download this
    if (Mail::CheckUser::last_check()->{code} == CU_SMTP_UNREACHABLE) {
      # can't reach server
      ...
    }