4D Internet Commands v16SMTP_Date |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v16
SMTP_Date
SMTP_Date
Given a date, a time, and a geographical location of the mail creator, the SMTP_Date command will build the date header for the message specified by the smtp_ID value. The date that is passed to the command should be the date and time for the current location of the machine sending the message. Since the parameters below must follow a specific format, the mail server on the receiving end of the message can interpret the date and time based on the date, time, time zone, and offset passed to it. It can then convert the sender's date and time to a local-time equivalent. Note: If a mail message is composed without a Date header, the SMTP server will add one with its current date & time settings. All SMTP mail messages contain a date header, either added by the client application or the SMTP server. smtp_ID is the long integer reference to the mail message created with the SMTP_New command. msgDate is a 4D date which contains the date that this message was created. msgTime is a time which contains the time this message was created. timeZone identifies the time zone of the sender. This field accepts a value between zero and 6 based on the tables below.
offset - The value of this parameter is dependent upon the code set in the timeZone parameter. See the descriptions above or the table below to find the correct value to set for this parameter.
deleteOption - A value of zero will add the date header with the given parameters, or replace a previously added set of values. A value of 1 causes any previous definition of this field to be removed. Any values in the other parameters are ignored. deleteOption is an optional parameter which will default to zero if not otherwise specified.
Siehe auch
|
EIGENSCHAFTEN
Produkt: 4D Internet Commands
GESCHICHTE
Erstellt: 4D Internet Commands 6.5 ARTIKELVERWENDUNG
4D Internet Commands ( 4D Internet Commands v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||