Hi
We have a c# web form where we are trying to send an email from our alias domain - e.g.
info@aliasdomain.com - however we get
This info-address is a group mailbox on our Zoho account, and it is acting as an alias for our main domain, i.e.
info@maindomain.com.
Our c# code is something like this:
- using (SmtpClient client = new SmtpClient())
- {
- client.DeliveryMethod = SmtpDeliveryMethod.Network;
- client.EnableSsl = true;
- client.Host = "smtp.zoho.com";
- client.Credentials = new NetworkCredential(
- "john@maindomain.com",
- "password123");
- client.Port = 587;
- client.Send(msg);
- }
Since there is no account/password details for the info-account(s) (because they are group mail accounts) how can we accomplish sending mail from webforms using them as alias?