AddMailAttachment() local file name

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

AddMailAttachment() local file name

Post by jassing »

It would be helpful if the attachment could access a local file but have a 'display' file name.

For example, I download a log file to a temporary file name -- but when sending the mail, I need the attachment file name to be "logifle.txt"