Skip to content

Commit

Permalink
Throw exception in set_banner for now
Browse files Browse the repository at this point in the history
  • Loading branch information
baudehlo committed Nov 28, 2012
1 parent 4e989ba commit 4aa8437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// An SMTP Transaction

var config = require('./config');
var logger = require('./logger');
var Header = require('./mailheader').Header;
var body = require('./mailbody');
var utils = require('./utils');
Expand Down Expand Up @@ -98,6 +97,7 @@ Transaction.prototype.attachment_hooks = function (start, data, end) {
};

Transaction.prototype.set_banner = function (text, html) {
throw "transaction.set_banner is currently non-functional";
this.parse_body = true;
if (!html) {
html = text.replace(/\n/g, '<br/>\n');
Expand Down

0 comments on commit 4aa8437

Please sign in to comment.