When using the SMTP module, currently the Date header needs to be
filled out manually (it seems that some SMTP servers will auto-fill
it if missing, but others apparently don't).

That wouldn't be too bad except, as far as I can tell, vibe.d doesn't
have a function to convert a SysTime or other date to the appropriate
format. And I know phobos doesn't have one (and likely won't anytime
soon, judging by
https://github.com/D-Programming-Language/phobos/pull/1140).

I'd be glad to donate my function for it (maybe with proper validation
added) with a pull request, but I thought I'd ask where you think it
should go. vibe.utils.string? Some new utils module? The regular SMTP
module itself?

Also, I was thinking it would be nice if the SMTP module could fill the
Date header automatically if it's missing...But then it occurred to me
the problem with that is "What if someone wants/needs full control
over the entire message, perhaps for testing a server?" What are your
thoughts?