| Home | All functions | Legacy functions | Categories |
vuPOP3SaveAttachment(*CSTRING InFileName),SIGNED,PROC,PASCAL,RAW,NAME('vuPOP3SaveAttachment')
Saves one attachment from the currently loaded POP3 message by filename.
| Parameter | Type | Description | |—|—|—| | InFileName | *CSTRING | Attachment filename to save from the loaded message. |
1: Attachment saved successfully.0: FileName is blank, attachment name not found, or save failed.MAP
MODULE('vuMail.dll')
vuPOP3SaveAttachment(*CSTRING InFileName),SIGNED,PROC,PASCAL,RAW,NAME('vuPOP3SaveAttachment')
END
END
rc LONG
fileName CSTRING(260)
fileName = 'invoice.pdf'
rc = vuPOP3SaveAttachment(fileName)
IF rc = 0
MESSAGE('Attachment save failed.')
END
vuPOP3LoadEmail before saving attachments.vuPOP3SetFolder / POP3 folder configuration.| Home | All functions | Legacy functions | Categories |