esmtp_message_factory — This function is the ESMTP server state machine
int **esmtp_message_factory** ( | event, | |
| | eventtype, | |
| | vclosure, | |
| | now
); | |
This function is the ESMTP server state machine.
This function should only be used under direct guidance from Message Systems professional services.
The Event. For more information about this data type see Event.
Event types are defined in
# E_READ 0x00000001 # E_WRITE 0x00000002 # E_EXCEPTION 0x00000004 # E_TIMEOUT 0x00000008 # E_ASYNC 0x00000010
E_READ is defined to indicate that reading the descriptor will not block, E_WRITE to indicate that writing will not block and E_EXCEPTION to indicate certain error conditions. There are other possible mask values, but they are for internal use.
eventtypecan be set to one or more of these values bitwise OR'd together.
A pointer to the closure function.
The current time.
On error, this function returns
It is legal to call this function in the