Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create an email, you will first need to create an instance of SMTPc_MSG. 

ElementStructure fieldType

Description

*FromSMTPc_MBOXPointer to the FROM mailbox instance.
*ToArray[SMTPc_CFG_MSG_MAX_TO]SMTPc_MBOXArray of pointer to the TO mailbox instances
*ReplyToSMTPc_MBOXPointer to the ReplyTo mailbox instance
*SenderSMTPc_MBOXPointer to the Sender mailbox instance
*CCArray [SMTPc_CFG_MSG_MAX_CC]SMTPc_MBOXArray of pointer to the TO mailbox instances
*BCCArray [SMTPc_CFG_MSG_MAX_BCC]SMTPc_MBOXArray of pointer to the TO mailbox instances
MsgID [SMTPc_MSG_MSGID_LEN]CPU_CHARUnique msg id
MIMEMsgHdrStructSMTPc_MIME_ENTITY_HDRMail object MIME content headers
*SubjectCPU_CHAREmail subject string
*AttachArray[SMTPc_CFG_MSG_MAX_ATTACH]SMTPc_ATTACHArray of pointer to attachment instances.
*ContentBodyMsgCPU_CHARBody message of the email.
ContentBodyMsgLen CPU_INT32U Body message length

...