Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments

karabuta via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Sep 29 10:43:28 PDT 2015


On Tuesday, 29 September 2015 at 12:26:58 UTC, Robert M. Münch 
wrote:
> On 2015-09-29 03:53:44 +0000, Sebastiaan Koppe said:
>

>
> 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.


Nice observation




More information about the Digitalmars-d-announce mailing list