Populates a SMTPc_MBOX structure with associated name and address.
Files
smtp-c.h/smtp-c.c
Prototype
void SMTPc_SetMbox (SMTPc_MBOX *mbox, CPU_CHAR *name, CPU_CHAR *addr, SMTPc_ERR *perr);
Arguments
mbox SMTPc_MBOX structure to be populated.
name Name of the mailbox owner.
addr Address associated with the mailbox.
perr Pointer to variable that will hold the return error code
Returned Values
none.
Required Configuration
Notes / Warnings
SMTPc_MBOX can be used to define whether the sender (FROM) or the recipients (TO,CC and BCC).
Example Usage
none.