Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments
Sebastiaan Koppe via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Sep 29 06:08:11 PDT 2015
On Tuesday, 29 September 2015 at 12:26:58 UTC, Robert M. Münch
wrote:
> Not that I'm to deep into the code nor D but would it be
> possible to write it somehow like this:
>
> Mail email = new Mail;
>
> email.headers = [
> "Date" Clock...,
> "Sender" ...
> ]
>
> This would be a much more descriptive approach, which I think
> makes a lot of sense for such things. And it follows the "dont
> repeat yourself" pattern.
The Mail class is from vibe.d
I suppose the headers members could accept `string[string]`
assignment.
More information about the Digitalmars-d-announce
mailing list