internal string SummarizeEnvelopeHeaders(ISmtpMessage message)
        {
            string mailFrom = message.GetMailFrom();
            string rcptTo   = message.GetRcptTo();

            return(string.Format("MAILFROM={0};RCPTTO={1}", mailFrom, rcptTo));
        }
Beispiel #2
0
 /// <summary>
 /// Convert <see cref="ISmtpMessage"/> into a audit string.
 /// </summary>
 /// <param name="message"></param>
 /// <returns></returns>
 public string Build(ISmtpMessage message)
 {
     return string.Format("MAILFROM={0};RCPTTO={1}", message.GetMailFrom(), message.GetRcptTo());
 }
Beispiel #3
0
 /// <summary>
 /// Convert <see cref="ISmtpMessage"/> into a audit string.
 /// </summary>
 /// <param name="message"></param>
 /// <returns></returns>
 public string Build(ISmtpMessage message)
 {
     return(string.Format("MAILFROM={0};RCPTTO={1}", message.GetMailFrom(), message.GetRcptTo()));
 }
Beispiel #4
0
 internal string SummarizeEnvelopeHeaders(ISmtpMessage message)
 {
     string mailFrom = message.GetMailFrom();
     string rcptTo = message.GetRcptTo();
     return string.Format("MAILFROM={0};RCPTTO={1}", mailFrom, rcptTo);
 }