On Monday, 10 June 2019 at 16:10:07 UTC, Andrew wrote:
smtp.mailTo = ["
There's a missing > in that string.
idk if that is making a difference though, the error messages in
this are awful.
On Monday, 10 June 2019 at 16:10:07 UTC, Andrew wrote:
What wrong?
```
import std.net.curl;
[...]
Curl smtp is a low level api. You need to know SMTP RFC.
Please have a look here, this is a high level API on top of curl
smtp:
https://github.com/adamdruppe/arsd/blob/master/email.d
Kind rega
What wrong?
```
import std.net.curl;
void main() {
auto smtp = SMTP("smtps://smtp.gmail.com:465");
smtp.setAuthentication("qwe...@gmail.com", "password");
smtp.mailTo = ["std.net.curl.CurlException@std/net/curl.d(4364): Failed sending
data to the peer on handle 55FACCB58AC0
---