<- Back to SMTPit Pro function list
SMTPit_SetAttachmentWithDialog
- Description
This function presents you with a standard open file dialog that lets you choose a file from your hard drive. It then attaches the chosen file to the current email.
- Return Type
- Text
- Format
- SMTPit_SetAttachmentWithDialog ( SMTPit_Append )
- Optional Parameters
- SMTPit_Append
Leave this in to add the Attachment to the current list of Attachments
- SMTPit_Append
- Related Items
- SMTPit_SetAttachment
- Examples
Example 1
Code:
SMTPit_SetAttachmentWithDialogResult:
Attaches the file you choose from an open file dialog.Example 2
Code:
SMTPit_SetAttachmentWithDialog( SMTPit_Append )Result:
Appends the file you choose from an open file dialog to the list attachments for the current email.