question

YehudaRingler-6072 avatar image
0 Votes"
YehudaRingler-6072 asked SamWu-MSFT commented

Disable default IIS STMP email header

We're trying to set a custom Return-Path header (we use mail kit), and when the raw email content is written to a file, the Return-Path header is set correctly.
And when it's sent for real from IIS, our custom Return-Path header is still there... but there's a second Return-Path header!
It seems that IIS is adding an additional Return-Path header, ignoring what was already there.
Has anyone else experienced this? What did you do about it?

windows-server-iis
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@YehudaRingler-6072 As far as I know, it is impossible to disable IIS STMP email header in iis, i suggest you try to figure out why these two Return-Path headers appear, and what is the difference between them.

0 Votes 0 ·

0 Answers