Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C#で次のことを行う方法を知っている人はいますか?
additionalHeaders.Add("Reply-To: test@test.com");
次のコードに挿入する必要があります。
WebMail.Send(to: customerEmail, subject: "Booking enquiry from - " + customerEmail, body: customerRequest );
次を使用して解決しました:
var header = new[]{"Reply-To:test@hotmail.com"}; WebMail.Send(to: customerEmail, subject: "Booking enquiry from - " + customerEmail, body: customerRequest, additionalHeaders: header );