Summary

In this chapter we learned how to send HTML e-mails from ZF2 and how to organize the template to have a cleaner code and to avoid having HTML code mixed with PHP. We also created a centralized point for sending the e-mails by simplifying the integration by just adding a line of code at each point where an e-mail has to be sent. Finally, we also modified the API in order to send the two e-mails we created.

The next chapter is the last one, in which we will complete our product functionality by implementing a security layer on the API level. We will use a simpler version of OAuth 2.0 and we will modify the client and the server to communicate using this protocol.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.235.104