title: Node.js Nodemailer And SES - Error: No transport method defined
body: <p>I am using nodemailer to send emails with SES. I am setting it up like this:</p>
  
  <pre><code>require("nodemailer").createTransport("SES", {
      AWSAccessKeyID: "AKIAJZFUSYQJNEX3VS2A",
      AWSSecretKey: "XXX", //real information removed
      SeviceUrl:"https://email.us-west-1.amazonaws.com"
  }),
  </code></pre>
  
  <p>When I Send The Email I Get:</p>
  
  <blockquote>
    <p>Error: No transport method defined</p>
  </blockquote>
  
  <p>Any ideas as to why this is happening?</p>
  
  <p>*EDIT:*Tried Both solutions, and they did not work</p>