Logo Search packages:      
Sourcecode: pwlib version File versions

BOOL PRFC822Channel::SendWithSMTP ( PSMTPClient smtp  ) 

Send this message using an SMTP socket. This assumes PSMTPClient is open the sends the message to the remote SMTP server.

Definition at line 1590 of file inetmail.cxx.

References PSMTPClient::BeginMessage(), and PIndirectChannel::Open().

  if (!Open(smtp))
    return FALSE;

  if (!headers.Contains(FromTag) || !headers.Contains(ToTag))
    return FALSE;

  return smtp->BeginMessage(headers[FromTag], headers[ToTag]);

Generated by  Doxygen 1.6.0   Back to index