I have a custom module built for a client that creates a file on the fly and saves it to disk with a guid as the file name.
I need to be able to send an email with a file attachment that has been renamed. For example, the file that was originally saved to disk is "d:\25892e17-80f6-415f-9c65-7395632f0223". However, when the email is sent, I need to rename the file to "abc.txt".
I'm using VB.NET for my custom module - what is the best way to make this work?
Note: I've created custom modules in the past that sent e-mails - but never with attachments - and never with attachments that had to be re-named on the fly. Thanks in advance.