This is the body of the email.
[]
- var host = XmlHelper.GetXmlElementValue(sourceValue, "host", true);
- var from = XmlHelper.GetXmlElementValue(sourceValue, "from", true);
- var isbodyhtml = XmlHelper.GetXmlElementValue(sourceValue, "isbodyhtml", true);
- var to = XmlHelper.GetXmlElementValue(sourceValue, "to", true);
- var cc = XmlHelper.GetXmlElementValue(sourceValue, "cc", true);
- var bcc = XmlHelper.GetXmlElementValue(sourceValue, "bcc", true);
- var localfrom = XmlHelper.GetXmlElementValue(sourceValue, "localfrom", true);
- var subject = ConvertFieldTokens(XmlHelper.GetXmlElementValue(sourceValue, "subject", true));
- var mail = ConvertFieldTokens(XmlHelper.GetXmlElementValue(sourceValue, "mail", true));
-
- var fromValue = !string.IsNullOrEmpty(from) ? from : localfrom;
-
- return JsonConvert.SerializeObject(new {
- from = fromValue,
- to = to,
- cc = cc,
- bcc = bcc,
- subject = subject,
- message = mail,
- isHtml = isbodyhtml,
- customSmtpConfig = $"