TIpClientSmtp() > Low level methods xHarbour Developers Network  

oTIpClientSmtp:data()

Sends the DATA command to the SMTP server.

Syntax

:data( <cData> ) --> lSuccess

Arguments

<cData>
This is a character string holding the mail message to send.

Description

Method :data() sends the DATA command along with the mail message to the SMTP server and returns a logical value indicating success of the operation. Prior to :data(), the methods :mail() and the methods :mail() and :rcpt() must be called in order to specify sender and recipient(s) of the mail message.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe