Love the new interface.
One question..... using your send email function, do you have an attribute in ytour mailing function to attach a document or multiple documents to the email. Below is your basic generic code for ssending a new email after an add.
================
//** Send email with new data ****
string email = "test@test.com";
string from = "admin@test.com";
StringBuilder msg = new StringBuilder("");
string subject = "New data record";
foreach(var field in values.GetEnumerator())
{
if(!CommonFunctions.IsBinaryType(pageObject.pSet.getFieldType(field.Key)))
{
msg.Append(field.Key.ToString() + " : " + field.Value.ToString() + "\r\n");
}
}
XVar ret = MVCFunctions.runner_mail(new XVar("to", email, "subject", subject, "body", msg.ToString(), "from", from));
if(!ret["mailed"])
{
MVCFunctions.EchoToOutput(ret["message"]);
}
==============================
Thank you in advance.
Rizzy