Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.00.00

...

smtp-c.h/smtp-c.c

Prototype

 

Code Block
languagecpp
void  SMTPc_SetMbox (SMTPc_MBOX  *p_mbox,
                     CPU_CHAR    *p_name,
                     CPU_CHAR    *p_addr,
                     SMTPc_ERR   *

...

p_err);

 

Arguments

p_mbox          

SMTPc_MBOX structure to be populated.

p_name          

Name of the mailbox owner.

p_addr            

Address associated with the mailbox.perr

p_err            

Pointer to variable that will hold the return error code

...

Module Configuration.

Notes / Warnings

...

  1. The name of the mailbox owner is not mandatory. Passing NULL will result in an empty string being copied in the structure.

  2. SMTPc_MBOX can be used to define whether the sender (FROM) or the recipients (TO,CC and BCC). 

Example Usage

none.