Browse code

BM-12794 Fix: smtp data transp

David Phan authored on 08/02/2018 08:56:38
Showing 1 changed files
... ...
@@ -153,7 +153,7 @@ public class LmtpFiltersVerticle extends Verticle {
153 153
 			ByteArrayOutputStream out = new ByteArrayOutputStream();
154 154
 			MessageServiceFactoryImpl.newInstance().newMessageWriter().writeMessage(message, out);
155 155
 
156
-			return SMTPByteBufUtils.transformToSMTP(Unpooled.wrappedBuffer(out.toByteArray()));
156
+			return Unpooled.wrappedBuffer(out.toByteArray());
157 157
 		} catch (Exception e) {
158 158
 			logger.error(e.getMessage(), e);
159 159
 			throw new FilterException(LmtpReply.TEMPORARY_FAILURE, "Internal error");