Email Attachment Code When File Name is Dynamic

jkpats12

Registered User.
Local time
Today, 16:47
Joined
Jan 27, 2004
Messages
45
Hi everyone,

Is there anyway to possibly put together some e-mail code that will attach a file from a specific folder but the file name is constantly changing ?

Basically I went to attach this file & send it out via e-mail, but with the file name constantly changing I'm unsure on how to accomplish this ?

Any thoughts would be greatly appreciated.

Thanks
 
Obviously, the filename must be stored in a varable. Instead of using a hardcoded filename, fill a variable with the filename and attach it to your email.

Hope this helps, if not post your piece of code where you attach the filename to your mail.
 

Users who are viewing this thread

Back
Top Bottom