'sending a mail with attachment through excel

Sending a mail with attachment from excel in vba works most of the time, but sometimes "d.docs.live.net" is added to this attachment, with result that this attachment cannot be found or/and is unreadable. PS. Cortana doesn't work in my region. I work with Office365 and Windows 11. My program is on OneDrive. I read somewhere that a junkapp could be the cause. How to solve this problem ?



Solution 1:[1]

enter image description here

Luuk : we found the information about the junk app via the Microsoft community forum. They gave 6 solutions but none of them works. They suggest a.o. to use Cortana, but Cortana doesn't work in our region. I quote : "this can be due to a conflict with credentials that are stored in your device. To fix your concern with the pop-up window, we'd recoçmmend performing the following" , and then they suggest Cortana. we ourselves did not add the "d.docs.live", it just pops up after the "fiche.pdf". – EVL May 22 at 20:14 Andrew Morton : "d.docs.live." is not added, it just pops up after the name "fiche.pdf". – EVL May 22 at 20:15

The program is on OneDrive, the attachment (pdf) should also be on OneDrive, but how can I get this right ? I want to cancel the d.docx.live.

Solution 2:[2]

Sorry, but we finally found the problem : in the name of the attachment there was a space too many, so the system did not recognize the attachment. We apologize for any inconvenience.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 EVL
Solution 2 EVL