imme_start_envelope - Begins the enqueue of one message.
#include <imta.h>
int imme_start_envelope(imme_t me, const char *from);
imme_start_envelope() must be called to start a message enqueue. Nothing can be written to a message being enqueued, prior to calling imme_start_envelope(). The from argument specifies the envelope From: address to associate with the message being enqueued. It is a mandatory parameter and it should conform to RFC 822. After calling imme_start_envelope(), imme_add_recipient() should be called to specify all message recipients (To:, Cc:, and Bcc: addresses).
imme_start_envelope() returns IMRC_OK when successful. Otherwise, one of the following error codes is returned:
_______________________________________
imme_start_envelope(3) C Library Functions imme_start_envelope(3)
imme_init(3) , imta_error(3) , imme_add_recipient(3) , immd_read_text(3)