TIpClientSmtp() > Low level methods xHarbour Developers Network  

oTIpClientSmtp:auth()

Sends the AUTH LOGIN command to the SMTP server.

Syntax

:auth( <cUserID>, <cPassword> ) --> lSuccess

Arguments

<cUserID>
This is a character string holding the user ID for logging into the SMTP server.
<Password>
This is a character string holding the password for logging into the SMTP server.

Description

Metod :auth() logs into the the SMTP server and authenticates the user with the AUTH LOGIN command. The return value is .T. (true) when the log-in procedure is successful. Otherwise, .F. (false) is returned. Note that the log-in procedure requires a successful call to the :open() method for establishing the internet connection.


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