0

送信時にメールにカスタム ヘッダーを作成した場合、誰かがメールに返信したときに、すべてのメール クライアントがカスタム ヘッダーを返しますか?

元)

MailMessage mail = new MailMessage();
mail.To = "me@mycompany.com";
mail.From = "you@yourcompany.com";
mail.Subject = "this is a test email.";
mail.Body = "this is my test email body.";
mail.Headers.Add( "X-Company", "My Company" );  <---- This is my custom header.
SmtpMail.SmtpServer = "localhost";  //your real server goes here
SmtpMail.Send( mail );

ありがとう

4

2 に答える 2