4D Internet Commands v16SMTP_From |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v16
SMTP_From
SMTP_From
The SMTP_From command contains the mail address(es) of the person(s) to be listed in the "From" field of the message. The addresses in this field are those of the persons responsible for creating or authorizing the message. Normally, the "From" header contains one address representing the person who composed and sent the message. There may be circumstances however in which a message is composed by a group of people who should each be individually recognized within the "From" header. The "From" header is mandatory. If an address is specified in the "From" header the existence of the "Sender" header is optional. smtp_ID is the long integer reference to the mail message created with the SMTP_New command. msgFrom is a text value containing an AddressList of one or more mail addresses. All addresses listed in the From header are visible to the recipients of the message. Auto-Reply note: If a "ReplyTo" header is not defined for the message identified by smtp_ID then all replies to the message will be directed back to each person specified in the "From" header. deleteOption is an integer value which specifies whether to add or delete the "From" header:
In this example, three people compose a message on the subject of a company policy change that is distributed to everyone in the company. Any responses to this message would be directed back to each of the three people listed in the "From" header. $From:="prez@acme.com, vp@acme.com, cfo@acme.com"
See also
|
PROPERTIES
Product: 4D Internet Commands
HISTORY
Created: 4D Internet Commands 6.5 ARTICLE USAGE
4D Internet Commands ( 4D Internet Commands v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||