SMTP Send is locking up my files - c#
问题 I have a function thats sending messages ( a lot of them) and their attachments. It basically loops through a directory structure and creates emails from a file structure for example c:\emails\message01 \attachments c:\emails\message02 \attachments The creation of the messages takes place using .net c#, standard stuff. After all messages are created... I have another function that runs directly afterwards that copies the message folder to another location. Problem is - files are locked...