System.Net.Mail.MailMessage Raw Content / Spam Assassin
- by Martin
Hey everyone,
What I am trying to do is pass the raw content of an outgoing email to spamassassin in order to calculate a spam score. I am stuck in how I might get the raw content of the email.
My C# code currently just constructs the MailMessage and passes it the SmtpClient's Send() method. Before sending, is there a way to get a raw version of…