Attachment attachment; attachment = new Attachment("c:\\test.rar"); email.Attachments.Add(attachment);