The following code fragment obtains the name of the channel used as the source channel for the enqueue.
mta_nq_t *nq; const char *channel; mtaEnqueueStart(&nq, "sue@siroe.com", 0, 0); mtaEnqueueInfo(nq, MTA_CHANNEL, &channel, NULL, 0); printf("Source channel = %s\n", channel); |