Convenience method that takes a filename instead of the content.
Its implementation is simply return new IncomingEmailMessage(cast(immutable(ubyte)[]) std.file.read(filename));
(though i reserve the right to use a different file loading library later, still the same idea)
Convenience method that takes a filename instead of the content.
Its implementation is simply return new IncomingEmailMessage(cast(immutable(ubyte)[]) std.file.read(filename)); (though i reserve the right to use a different file loading library later, still the same idea)