Please,
is there any new update for Outlook 2024/Outlook WEB and .NET 8 ? In new outlook drag and drop function starts like:
private void Form1_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent("Chromium Web Custom MIME Data Format"))
e.Effect = DragDropEffects.Copy;
else
e.Effect = DragDropEffects.None;
}
private void Form1_DragDrop(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent("Chromium Web Custom MIME Data Format"))
{
var data = e.Data.GetData("Chromium Web Custom MIME Data Format");
if (data is MemoryStream memoryStream)
{
var bytes = memoryStream.ToArray();
var rawText = Encoding.UTF8.GetString(bytes);
Debug.WriteLine(rawText);
}
}
}
But this is not working properly. Please can somebody help mi to get content of email (text, assigned files,...) from copy paste & new Outlook version?
Thank you.