![]() Due to the continuous development in the. This is the implementation of my method: async function sendEmail(įunctions.logger. A design pattern is a protocoled solution to a recurring problem/commonly occurring issues in your software design. In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. Then, when the record is added, a custom extension connected to the MailGun service sends the mail via SMTP. The observer is a design pattern in which an object maintains a list of objects depending on it observers, automatically notifying them of any changes to state. In order to send the emails to the users, I have the following method, which adds an email record to my database. ![]() The html is more complex, I have reduced it for simiplicity Generation of the emailsĪs the HTML main structure is the same (only the content (texts) changes), I have decided to implement my helper method generateEmailTemplate(): const, you are now premium!`) I have different features in my app, like:įor each feature, when success, I want to send a custom HTML email to the user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |