meteor-email-stub icon indicating copy to clipboard operation
meteor-email-stub copied to clipboard

Support for MailDev pass-thru?

Open thebarty opened this issue 8 years ago • 1 comments

Hi guys,

I just found https://github.com/djfarrelly/MailDev, which is a really cool tool to preview emails in a browser. I'd love to be able to use it in my tests in combination with this package.

Do you think you can introduce the option to pass through the email to the original Email.send (while still having the email available via let emails = server.call('emailStub/getEmails')?

thebarty avatar Dec 30 '16 00:12 thebarty

So this here would do the job

Right after https://github.com/xolvio/meteor-email-stub/blob/master/email.js#L12

Email.__send(options)

thebarty avatar Dec 30 '16 01:12 thebarty