I have a report displayed on the Screen and would like to be able to send it content via email when user press SendEmail link. I have installed MVCMailer and trying to send it but it arrives as empty message. When I follow the example in here it works. But I don't want to send View from UserMail folder. How can I send the View from other folder?
public virtual MvcMailMessage Welcome()
{
return Populate(x =>
{
x.Subject = "Welcome";
x.ViewName = "Graph\List"; // Controller: Graph, View: List
x.To.Add("example@example.co.uk");
});
}