This is probably a newby question, but, I am just trying to add a basic email send test and my twig page does not like the dollar signs. Is EmailModel built-in to craft or is there a plugin I need?
I am just trying to add this code to a basically empty twig page:
$email = new EmailModel(); $email->subject = "Thanks!"; $email->htmlBody = "<h1>Congratulations!</h1"; $email->htmlBody .= "<p>Hello World</p>"; $email->fromEmail = "email@example.com";
thanks for the help...