Permalink
Browse files

Use custom identity string with mailcomposer

  • Loading branch information...
Andris Reinman
Andris Reinman committed Nov 28, 2012
1 parent 15330c1 commit c67cb30df455bf79f6edd2a284b5453bef157b4d
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/nodemailer.js
View
@@ -88,6 +88,8 @@ function Nodemailer(options){
this.transport = this.options.transport;
+ mailcomposerOptions.identityString = X_MAILER_NAME + " " + packageData.version;
+
if(this.options.encoding){
mailcomposerOptions.encoding = this.options.encoding;
}

0 comments on commit c67cb30

Please sign in to comment.