I'm trying to send an email from my Kynetx extension. As a test run, I set up this rule:
rule first_rule {
select when pageview ".*"
email:forward() with
to = "me@example.com" and
message = "Testing Kynetx Mail" and
htmlmessage = "<html><body><p>Jed has html</p></body></html>";
notify("Testing", "email sent");
}
The notification shows up, but I never see the email, not even in my spam filter. Maybe email:forward() can only be used within the context of
select when mail received
?
As an alternative I guess I can use one of the PostMark-like services or maybe SNS ( http://wiki.kynetx.com/pages/Kynetx_Network_Services_(KNS)_API#SNS_Endpoint ). I just thought it'd be nice to keep it all in Kynetx.