2013-02-25, 11:54 AM
I am posting a new thread from a task I wrote to read from a web service.
The thread is added properly and an email is generated for those who are subscribed to the thread; however, the email has no subject and no content.
I am calling
at the end of the task, but this does not seem to have the desired effect.
Any suggestions on what I am missing to properly set the content for the email message that is generated?
All set - I was missing the messages language import.
The thread is added properly and an email is generated for those who are subscribed to the thread; however, the email has no subject and no content.
I am calling
$plugins->run_hooks("newthread_do_newthread_end");
at the end of the task, but this does not seem to have the desired effect.
Any suggestions on what I am missing to properly set the content for the email message that is generated?
All set - I was missing the messages language import.