I'm trying to insert some test code with hard-coded email data directly into my nodemailer server.js file to get started with a basic working example. See the "test code" section at the following url:
http://jsbin.com/sibubi/1/edit?html,js,console
Server.js loads without issue without the test code. However, an error occurs when the "test code" section is included. It complains about "unsupported configuration" and suggests a downgrade but I copied the test code from the nodemailer website. Any idea what the issue might be and how to fix? Here's the error: