On Wed, Nov 15, 2000 at 07:24:43PM +0800, Luke Chiam wrote:
>  ptmp = pstr;
>  sentlen = 0;
>  leftover = slen;
>  do {
>    sentlen = send ( sockfd, ptmp, slen-sentlen, 0 );
>    ptmp += sentlen;
>  } while ( ptmp < ( pstr + slen ) );

Is pstr supposed to be the data you are sending?  Does that data include
the SMTP (EHLO, MAIL, RCPT, DATA, and .) lines?  If not, your code
above should negotiate that.

Sean
-- 
 That weapon will replace your tongue. You will learn to speak through
 it.  And your poetry will now be written with blood. -- _Dead_Man_
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python

Reply via email to