我怎樣才能在smtp中獲取cookie?c#smtp獲取餅乾
我的代碼
SmtpClient Smtp = new SmtpClient("smtp.mail.ru", 2525);
Smtp.Credentials = new NetworkCredential(dom_[0], dom[1]);
//Smtp.EnableSsl = false;
//Формирование письма
MailMessage Message = new MailMessage();
Message.IsBodyHtml = true;
Message.From = new MailAddress(dom[0]);
Message.To.Add(new MailAddress(mail));
Message.Subject = ch[0];
Message.Body = ch[1];
Smtp.Send(Message);//отправка