I have used the Blat email line below in Studio 2017 and 2019 but it does not appear to work in Visual Studio 2022. Does anyone know what the issue is or suggest an alternative please?
Shell("C:\Windows\System32\blat.exe -body "" "" -attach ""spreadsheet"" -log C:\service\MailSend.log -debug -base64 -to ""name@company.co.uk"" -subject ""report - " & Date.Now.AddDays(-1).ToString("ddMMyyyy")Blat email & """ -server [ipaddress] -f ""MV_NoReply@company.co.uk""")
many thanks
Robert Bee