Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Send a message (an instance of the SMTPc_MSG structure) to the SMTP server.

Files

smtp-c.h/smtp-c.c

Prototype

 

void  SMTPc_SendMsg (NET_SOCK_ID   sock_id,
                     SMTPc_MSG    *msg,
                     SMTPc_ERR    *perr);

 

Arguments

sock_id       Socket ID.

msg            SMTPc_MSG structure encapsulating the message to send.

perr             Pointer to variable that will hold the return error code

Returned Values

none.

Required Configuration

Module Configuration.

Notes / Warnings

  1.  The function SMTPc_SetMsg has to be called before being able to send a message.
  2. The message has to have at least one receiver, either "To", "CC", or "BCC".

Example Usage

none.

  • No labels