I’m new to this forum, and I could really use your expertise. I’m working on a scenario where I need to create and send emails through Microsoft 365 Email, and I’m having trouble changing the Reply-To email address. I’ve tried various approaches, including adding the reply-to field and incorporating Internet Message Headers with X-Reply-To. Everything seems fine on my end, but I’m encountering an error that’s giving me quite a headache.
If I remove the Internet Message Headers, the email gets sent successfully, but it doesn’t include the Reply-To parameter. Here’s the error message I’m seeing, along with a screenshot for reference:
ERROR:  An internal server error occurred. The operation failed., Invalid parameter found when creating named prop
I would greatly appreciate your guidance and assistance in resolving this issue. If you have any insights, suggestions, or solutions, please share them with me.
Thank you in advance for your help!