Skip to content

Commit

Permalink
Add the setFromName method to the email.js class.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeoris committed Jul 4, 2015
1 parent 3d6b826 commit 78859fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ Email.prototype.setFrom = function(from) {
return this;
};

Email.prototype.setFromName = function(fromname) {
this.fromname = fromname;
};

Email.prototype.addCc = function(cc) {
this.cc.push(cc);
return this;
Expand Down

0 comments on commit 78859fe

Please sign in to comment.