Send email transcript Encompass coding

Here is a small sendemail transcript function and explanation for Encompass private void SaveEmailTranscript(EmailTemplate template, List<EmailAttachment> atts) { StringBuilder stringBuilder = new StringBuilder(); List<string> values = new List<string>(); values.AddRange((IEnumerable<string>) template.ToAddresses.GetAddresses(template)); values.AddRange((IEnumerable<string>) template.CCAddresses.GetAddresses(template)); values.AddRange((IEnumerable<string>) template.BCCAddresses.GetAddresses(template)); stringBuilder.AppendLine(“From: ” + EncompassApplication.CurrentUser.FullName + “<” + EncompassApplication.CurrentUser.Email + “>”); stringBuilder.AppendLine(“Sent: ” + DateTime.Now.ToString(“MM/dd/yyyy hh:mm:ss tt”)); stringBuilder.AppendLine(“To: ” + string.Join(“; “, …

Encompass plugin sendemail code snippets – only few blocks not complete

Here is a code snippet of send email for one of the encompass plugin public void SendEmail(EmailTemplate template) { try { // ISSUE: reference to a compiler-generated field if (Main.\u003C\u003Eo__38.\u003C\u003Ep__0 == null) { // ISSUE: reference to a compiler-generated field Main.\u003C\u003Eo__38.\u003C\u003Ep__0 = CallSite<Func<CallSite, object, MailItem>>.Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof (MailItem), typeof (Main))); } MailItem message = Main.\u003C\u003Eo__38.\u003C\u003Ep__0.Target((CallSite) Main.\u003C\u003Eo__38.\u003C\u003Ep__0, …

Explanation of some code in Encompass plugin

Here are some snippets from the plugin to move attachments to a folder foreach (Attachment attachment in currentLoan.Attachments) { List<string> stringList = new List<string>(); try { string str1 = docTitle; char[] chArray = new char[1]{ ‘,’ }; foreach (string str2 in str1.Split(chArray)) stringList.Add(str2); } catch { stringList.Add(docTitle); } foreach (string str in stringList) { if …

Lock request secondary registration and EPPS

In Encompass Banker edition, after a loan officer places a lock request and exits the loan file, the lock desk can access the Secondary Registration tool, review the information, validate buy-side information, and search for sell-side product and pricing options. To Search for Products and Prices from the Secondary Registration Tool: 1        Open a loan …

Lock request and EPPS

Search for Products, Rates, and Prices from the Lock Request Form Loan officers can search for products and prices from the Encompass Product and Pricing Service by clicking the Get Pricing button on the Lock Request Form tool. To Search for Products and Prices from the Lock Request Form Tool: Open a loan file, dick …

Recording payment into the servicing history of the loan

The following code demonstrates how to record a payment into the servicing history of the loan. using System; using System.IO; using EllieMae.Encompass.Client; using EllieMae.Encompass.BusinessObjects; using EllieMae.Encompass.BusinessObjects.Loans; using EllieMae.Encompass.BusinessObjects.Loans.Servicing; class SampleApp { public static void Main(string[] args) { // Open the session to the remote server Session session = new Session(); session.StartOffline(“mary”, “maryspwd”); // Open the …