4D Internet Commands v16SMTP_MessageID |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v16
SMTP_MessageID
SMTP_MessageID
The SMTP_MessageID command add a "message-id" field in the header of the message whose reference is passed in smtp_ID. This unique ID is used in particular on forums or public mailing lists. In general, mail servers automatically add this header to the messages they send. You can use this command to define its contents. smtp_ID contains the ID of an e-mail created with the SMTP_New command. In message_ID, you pass an ID to associate with the message. The contents you pass is normally unrestricted, however conventionally, it is usually in the form "lettersOrNumbers@domainname", for example "abcdef.123456@4d.com". Note that certain e-mail servers (such as Gmail) do not recognize custom "message-id" headers and replace them when they are not in this form. The option parameter lets you specify whether any existing message_ID header should be kept or removed:
In this example, a message with a specific "message-id" header is sent for each record of the [Admin] table: $error:=SMTP_New($smtp_id)
|
EIGENSCHAFTEN
Produkt: 4D Internet Commands
GESCHICHTE
Erstellt: 4D Internet Commands v14 ARTIKELVERWENDUNG
4D Internet Commands ( 4D Internet Commands v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||