Skip to content

Commit

Permalink
More thorough debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed May 27, 2014
1 parent c34a8ad commit c291d10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/Smtp/lib/Horde/Smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,10 @@ public function send($from, $to, $data, array $opts = array())
// RFC 6152[3]
if (!empty($opts['8bit'])) {
$mailcmd .= ' BODY=8BITMIME';
} elseif ($this->_debug->active && $this->data_8bit) {
/* Only output extended 7bit command if debug is active (it is
* default and does not need to be explicitly declared). */
$mailcmd .= ' BODY=7BIT';
}

$cmds = array($mailcmd);
Expand Down

0 comments on commit c291d10

Please sign in to comment.