-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to send email via command line using runworker #44
Comments
You will have to properly initialize an Emali task, including the settings (where to, ...). See the test cases maybe. |
I have initialized the task like this
Am I missing something?? |
You did not look into the test cases as I told you, did you? ;) $data = [
'settings' => [
'subject' =>...,
'to' => ...,
'domain' => 'example.org',
],
'vars' => [
'content' => 'I am a test',
]
];
if ($this->QueuedTask->createJob('Email', $data)) { ... } |
Sorry for the earlier mistake. I have made the above changes but there is still an error regarding unavailability of tools.
|
That is also documented (and visible in the code). |
Hi,
I am trying to implement the 2.x version of this plugin in my cakephp V2.6.1. I have installed it correctly. Updated the database with new tables. Then made an action in controller to add email tasks in queue. Till this point everything is working fine. But while running the Queue from the command line. I am getting the following error.
The text was updated successfully, but these errors were encountered: