initiate_connection_smtp — initiates an SMTP connection
int **initiate_connection_smtp** ( | dr, | |
| | binding, | |
| | now
); | |
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
initiates an SMTP connection
This function is called by the mail queue maintainer to initiate SMTP connections. It calls initiate_connection with the proper callbacks and takes the needed CONN_ACTION_* actions.
the domain record on which a connection is to be opened
the binding slot on which a connection is to be opened
the current time
0 on success, CONN_ERROR(initiate_connection return value) on error