TIpMail() > High level methods xHarbour Developers Network  

oTIpMail:setHeader()

Syntax

:setHeader( <cSubject>, ;
            <cFrom>   , ;
            <xTo>     , ;
           [<xCC>]    , ;
           [<xBCC>]     ) --> lSuccess

Arguments

<cSubject>
This is a character string holding the subject line of the mail message.
<cFrom>
This is a character string holding the sender address.
<xTo>
This is either a character string holding the address of a single recipient, or a one dimensional array holding addresses of multiple recipients as character strings.
<xCC>
This is either a character string holding the address of a single CC recipient (Carbon Copy), or a one dimensional array holding addresses of multiple CC recipients as character strings.
<xBCC>
This is either a character string holding the address of a single BCC recipient (Blind Carbon Copy), or a one dimensional array holding addresses of multiple BCC recipients as character strings.

Description

Method :setHeader() sets the most common header fields of a mail message required for sending eMails. This includes a subject line, and the eMail addresses of the sender and recipient(s).


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