Dear All,
Is there any way, after sending the mail with attachment..pdf would automatically dispose.
regards,
manish
*This post is locked for comments
Dear All,
Is there any way, after sending the mail with attachment..pdf would automatically dispose.
regards,
manish
*This post is locked for comments
very thanx to all.
both are working.
// FileManagement.DeleteClientFile('MKUOrderSheetDetails'); ///for pdf deletion
// ERASE('C:\Temp\MKUOrderSheetDetails');
You all are the great person in the world.
manish
Manish,
you can write bellow sending mail.
FileManagement.DeleteClientFile(FileName); // pass the attachment filename here
//FileManagement is a variable of codeunit of 419.
Hi,
if you have a custom function for send the email, you could add the erase function for delete del pdf file
Example:
ERASE('C:\TestFolder\NewTestFile.pdf');
Please check codeunit 419. you may find some function
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,436
Most Valuable Professional
nmaenpaa
101,156