smtp.c
/* SMTP: EOM */
/* return 0 on success, -1 on failure */
EOM
return 0 on success, -1 on failure
EOM return 0 on success - 1 on failure
int smtpEom(int sfd)
{
    int
        rc;
    msock_puts("\r\n.\r\n");
    showVerbose("\r\n[C] .\r\n");
    rc = read_smtp_line();
    if (smtp_code != 250)
    {
        read_smtp_multi_lines();
        errorMsg("Expected smtp code 250, got %d\n",smtp_code);
        rc = (-1);
    }
    return(rc);
}
int smtpEom ( int sfd ) { int rc ; msock_puts ( " \r \n \r \n " ) ; showVerbose ( " \r \n \r \n " ) ; rc = read_smtp_line ( ) ; if ( smtp_code != 250 ) { read_smtp_multi_lines ( ) ; errorMsg ( " \n " , smtp_code ) ; rc = ( -1 ) ; } return ( rc ) ; }
SMTP: EOM
return 0 on success, -1 on failure
SMTP : EOM return 0 on success - 1 on failure
/*
    ** Bug# 1 
    ** we want to see smtp code 250 now
    ** if mail is too big, it can mail with 552 message too large
    */