IncomingEmailMessage.fromFile

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)

Meta

History

Added May 14, 2024