public static string Inline(string str) { if (str == null) { throw new ArgumentNullException(); } var qp = new QuotedPrintable(); qp.inline = true; qp.lineBreak = "?="; qp.NewLine(); qp.EncodeLine(str); qp.AppendSuffix(); return(qp.ToString()); }