Hi,
We're trying to send mail via Hotmail and can get it to work fine using the standard .Net SmtpClient as below but cannot find the corresponding properties to do the same using the Rebex Mail components.
All is fine apart from the EnableSsl line which we're unable to find any way of setting. Is it possible with the Rebex components?
SmtpClient smtp = new System.Net.Mail.SmtpClient("smtp.live.com", 587);
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new NetworkCredential("{my hotmail email}",
"{my hotmail password}");
msg.From = new MailAddress("mymail@hotmail.com");
msg.To.Add("me@mydomain.com");
smtp.Send(msg);
Thanks,
Ian