1

Is it possible to use the Mandrill service in the firebase hosting? Any example of how configure it?

1 Answers1

1

Though I have not used Mandrill from client side myself (nor do I encourage doing it), here is what I found.

Since, Firebase hosting delivers only static content, you should be able to use Mandrill only if you are willing to use Mandrillapp API from only client side from your JavaScript. You can refer to this answer, How to use Mandrillapp API from only client side?

Also, here is some working Mandrill example code, How to send an email from JavaScript

and also this, How to send an email with Mandrill using JavaScript?

But be careful, since your API is visible to everyone, anyone with bad intent can misuse it.

Hope it helps.

Community
  • 1
  • 1
Suman Barick
  • 3,311
  • 2
  • 19
  • 31