4D Internet Commands v16

SMTP_Host

Home

 
4D Internet Commands v16
SMTP_Host

SMTP_Host 


 

SMTP_Host ( smtp_ID ; hostName {; deleteOption} ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
smtp_ID  Lange Ganzzahl in Message reference
hostName  String in Host name or IP address
deleteOption  Ganzzahl in 0 = Add or Replace, 1 = Delete
Funktionsergebnis  Ganzzahl in Error Code

All mail created and sent from the SMTP commands must be directed to a specific SMTP server. 4D Internet Commands do not deliver mail directly to each recipient; it is delivered to the SMTP server specified by this command. The SMTP server is responsible for resolving address errors and scheduling the delivery of the message.

smtp_ID is the long integer reference to the mail message created with the SMTP_New command.

hostName is the host name or IP address of the SMTP server which will handle the distribution of the message.

deleteOption is an optional parameter which specifies whether to delete the current host setting. A value of zero will set the host to the value specified by hostName. A value of 1 will delete the Host specification for the message identified by smtp_ID. This is an optional parameter and will default to zero if not otherwise specified.

See the examples for the command SMTP_Body and SMTP_Send.



Siehe auch 

SMTP_New

 
EIGENSCHAFTEN 

Produkt: 4D Internet Commands
Thema: IC Send Mail
Nummer: 88990

 
GESCHICHTE 

Erstellt: 4D Internet Commands 6.5

 
ARTIKELVERWENDUNG

4D Internet Commands ( 4D Internet Commands v16)