<- Back to SMTPit Pro function list
SMTPit_GetSendValue
- Description
This function retrieves values entered in the last Email Window or last email sent. It can be used for archiving the sent email. You can also use this function in concert with the "SMTPit_Send" function to send a message after the Email Window has been closed.
- Return Type
- Text
- Format
- SMTPit_GetSendValue ( Which )
- Required Parameters
- Which
Which Send Value to retrieve. (Specify "To", "CC", "BCC", "From", "Subject", "TextBody", "HTMLBody", "Attachment1", "Attachment2", "Attachment3", "Attachments", "InlineImages", "Reply-To", "Priority", or "Message-ID".)
- Which
- Related Items
- SMTPit_Send, SMTPit_SendWithDialog
- Examples
Example 1
Code:
SMTPit_GetSendValue("Subject")Result:
Returns something like "Test Message Subject"Example 2
Code:
SMTPit_GetSendValue("To")Result:
Returns something like "Joe Cool <Joe@cool.com>"