digitalmars.D.learn - D and MySQL and mail
- Lars Johansson (5/5) Jan 12 Hi I need an advice.
- Dejan Lekic (11/16) Jan 12 Frankly, I do not know the right answers, but I would start with
- Kapendev (5/10) Jan 12 You could try `mysql.d` from
- Adam D. Ruppe (2/3) Jan 12 there's an `email.d` in there too to help with sending emails.
- apz28 (3/8) Jan 12 This may help:
- 0xEAB (2/5) Jan 12 I’d recommend `mysql-native`.
Hi I need an advice. I will write a program that use MySQL. But I'm a bit uncertain what is the best package to work with MySql? I also need to send mails; same question here, or rather what is the simplest way to send mails from D?
Jan 12
On Monday, 12 January 2026 at 15:28:47 UTC, Lars Johansson wrote:Hi I need an advice. I will write a program that use MySQL. But I'm a bit uncertain what is the best package to work with MySql? I also need to send mails; same question here, or rather what is the simplest way to send mails from D?Frankly, I do not know the right answers, but I would start with https://code.dlang.org/search?q=mysql and https://code.dlang.org/search?q=mail One of those packages are probably your best choice. Unfortunately dub registry does not go through the packages/modules inside DUB packages as there are probably MySQL or email modules out there that are in DUB packages with unrelated names. The way it currently works we will never have it, but until recently it could not even do a substring search, so we are making some progress...
Jan 12
On Monday, 12 January 2026 at 15:28:47 UTC, Lars Johansson wrote:Hi I need an advice. I will write a program that use MySQL. But I'm a bit uncertain what is the best package to work with MySql? I also need to send mails; same question here, or rather what is the simplest way to send mails from D?You could try `mysql.d` from [arsd](https://github.com/adamdruppe/arsd). The [awesome-d](https://github.com/dlang-community/awesome-d?tab=readme-ov-file#database-clients ) repo might have something too.
Jan 12
On Monday, 12 January 2026 at 16:43:42 UTC, Kapendev wrote:You could try `mysql.d`there's an `email.d` in there too to help with sending emails.
Jan 12
On Monday, 12 January 2026 at 15:28:47 UTC, Lars Johansson wrote:Hi I need an advice. I will write a program that use MySQL. But I'm a bit uncertain what is the best package to work with MySql? I also need to send mails; same question here, or rather what is the simplest way to send mails from D?This may help: https://code.dlang.org/?sort=updated&limit=20&category=library.database
Jan 12
On Monday, 12 January 2026 at 15:28:47 UTC, Lars Johansson wrote:Hi I need an advice. I will write a program that use MySQL. But I'm a bit uncertain what is the best package to work with MySql?I’d recommend `mysql-native`.
Jan 12









Dejan Lekic <dejan.lekic gmail.com> 