Repository navigation
Conversation
|
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
|
Hi @aleho70 I was trying something like let options = {
type: 'email',
port: '80',
to: ac.email,
from: app.get('emailFrom'),
subject: 'Thanks for registering.',
verifyHref: verifyHref,
template: null,
user: ac
};
var template = loopback.template(path.resolve(__dirname, '../../server/views/verify.ejs'));
options.html = template(options);But it seems that loopback set a default template if none is specified and then Thanks in advance for any help |
|
@slnode ok to test |
|
@aleho70 thank you for the pull request. Could you please add a unit-test to verify the implementation? @raymondfeng @ritch you are more familiar with this part of loopback than I am, could one of you please review & land this patch? |
|
Hi I'm stuck with the same problem of Mandrill with loopback. Any update on this ? Thanks |
|
@ritch you seem to be the author of this part, could you please review? |
|
Hello! We have implemented a different solution in #2937, where users can provide a custom IIUC, lb-mandrill-connector allows users to perform template->html conversion by the server sending emails (Mandrill in this case). I understand how this use-case can be useful. If there is a volunteer willing to rework the patch proposed in this pull request on top of the latest master, and include unit-tests to cover this new feature, then please open a new pull request. I am closing this one as it's too outdated. |
Support for sending user verify emails with templates also via lb-connector-mandrill to Mandrill API.
It allows to use local EJS templates or remote Mandrill templates.