| 4D v13.2SMTP_To | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v13.2
 SMTP_To 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SMTP_To ( smtp_ID ; msgTo ; deleteOption ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| smtp_ID | Longint |   | Message reference | |||||
| msgTo | Text |   | MailAddress or AddressList | |||||
| deleteOption | Integer |   | 0 = Add, 1 = Replace, 2 = Delete | |||||
| Function result | Integer |   | Error Code | |||||
The SMTP_To command adds the identity of the primary recipients of the message. All addresses listed in the "To" and "cc" headers in a mail message are visible to each recipient of the message.
smtp_ID is the long integer reference to the mail message created with the SMTP_New command.
msgTo is a text value containing an AddressList of one or more mail addresses.
deleteOption is an integer value which specifies whether to add or delete the "To" header:
See the example for the command SMTP_Body.
	Product:  4D
	Theme:  IC Send Mail
	Number:  
        88983
        
        
        
	
	Created:  4D Internet Commands 6.5