Permalink
Browse files

Update lib/nodemailer.js

  • Loading branch information...
andris9 committed Apr 15, 2012
1 parent ef5354a commit ef613a32b5329c69ecd6eac27cb4f278f59a3472
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nodemailer.js
View
@@ -249,7 +249,7 @@ Nodemailer.prototype.setUserHeaders = function(){
Nodemailer.prototype.setModuleHeaders = function(){
// Mailer name + version
- this.mailcomposer.addHeader("X-Mailer", this.generateUserAgentString);
+ this.mailcomposer.addHeader("X-Mailer", this.generateUserAgentString());
// Date
this.mailcomposer.addHeader("Date", new Date().toUTCString());

1 comment on commit ef613a3

@josefsalyer

This comment has been minimized.

Show comment Hide comment
@josefsalyer

josefsalyer Apr 15, 2012

Thanks for fixing this! I was starting to pull my hair out :)

Thanks for fixing this! I was starting to pull my hair out :)

Please sign in to comment.