Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PSMTPClient::EndMessage (  ) 

End transmission of a message using the SMTP socket as a client.

TRUE if message was accepted by remote server, FALSE if an error occurs.

Definition at line 361 of file inetmail.cxx.

References PInternetProtocol::ReadResponse(), and PChannel::WriteString().

Referenced by Close().


  stuffingState = DontStuff;
  sendingData = FALSE;

  if (!WriteString(CRLFdotCRLF))
    return FALSE;

  return ReadResponse() && lastResponseCode/100 == 2;

Generated by  Doxygen 1.6.0   Back to index