[Issue 18113] E-mail attachments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 26 15:25:40 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18113

--- Comment #4 from greenify <greeenify at gmail.com> ---
(Sorry I am replying from my phone and I accidentally clicked on send)

> May we know what do you mean by "We don't intend to add this functionality to Phobos in the near future"

Oh I am sorry. I wanted to say: as far as I know no one is working on this and
thus I don't think this will happen soon.

> We have completed 90% for the coding and for email we are calling the powershell’s Sendmail functionality using the std.process module, so do you mean that we have to revert back all are changes and wait until this basisc functionality is brought into Phobos and then start using D programming? 

Here's the problem: once we add it to Phobos, it will be the defacto standard
for sending mail.
And then we will receive complaints from the people who want to send mail async
or use a more recent standard. For example, a lot of people hate std.net.curl
and don't like it for various reasons. Thus, a standard solution needs to be
superb and being superb requires a lot of time.
I suggested using Vibe.d or email.d - they both have very permissive licenses.

> We are aware that there are other priorities, hence we are not asking this functionality to be immediately brought into Phobos, but why not add this in the next release.
> "Why can't you use other libraries?"  Why cant this functionality be added to Phobos?

I'm really sorry that it's unlikely that it will be added to Phobos. Obviously
I don't speak for the Phobos library - I just wanted to prevent disappointment
of waiting for this issue if it's unlikely to be fixed. I highly encourage you
to open a discussion on the NG about this topic. Adding more modules to Phobos
is a frequent topic and many people on the mailing list are a lot more eloquent
than I am.

--


More information about the Digitalmars-d-bugs mailing list