pubic static string xml() { XElement xeRoot = new XElement("mail_job"); XElement xeStatus = new XElement("subject", "Draft"); xeRoot.Add(xeStatus); XElement xeDisplayDate = new XElement("from_name", "####"); xeRoot.Add(xeDisplayDate); XElement xeDisplayTitle = new XElement("from_address", "info@reply.domain.com"); xeRoot.Add(xeDisplayTitle); XElement xeTemplate = new XElement("reply_address", "info@reply.domian.com"); xeRoot.Add(xeTemplate); } public static string WRequest() { string URL = Response.createEmailURL(); string method = "POST"; string postData = xml(); string responseData = ""; int statusCode; //rest of the code }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)