Emailing in Node.js with Nodemailer

Emailing in Node.js is easy to do with the Nodemailer module. Nodemailer supports plain text content, HTML content, attachments, different transport methods, etc. The official documentation can be found on github. Getting Started Lets start off by creating our directory. mkdir EmailExample cd EmailExample Creating package.json In the EmailExample directory we just created, run npm […]

Signature Pad with HTML5

I was recently asked to create a signature pad for desktop and mobile browsers to save customer signatures. The solution included using the <canvas> element and adding event listeners for both mouse and touch events to draw the signature lines on the canvas. First thing is we have to create a canvas element. <canvas id=”canvas” […]