I need little help in understanding what values should I fill in to send email from mail-in-a-box already configured on a Linux box and available. We use Roundcube Webmail as interface.
We have our website hosted on Azure Cloud and we want to use our mail service to send email from an ASP.NET website available on azure.
Below is the sample code that we normally use in ASP.NET. I just want to know standard values that I should fill in “???” items.
var smtpClient = new System.Net.Mail.SmtpClient("???");
smtpClient.Port = ???
smtpClient.EnableSsl = ???
smtpClient.Credentials = new System.Net.NetworkCredential(???, ???);
var mail = new System.Net.Mail.MailMessage();
mail.From = new System.Net.Mail.MailAddress("email@example.com");
mail.Subject = “Hello World!”;
mail.Body = “
mail.IsBodyHtml = true;