https://issues.dlang.org/show_bug.cgi?id=18356
Issue ID: 18356 Summary: no property 'tempCString' for type 'const(char)[]' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: bitwo...@qq.com Failed to compiling the test code below with DMD 2.078+. Here is the error message: /usr/include/dmd/phobos/std/net/curl.d(4058,44): Error: no property 'tempCString' for type 'const(char)[]' source/app.d(47,4): Error: template instance std.net.curl.SMTP.mailTo!() error instantiating It's OK for DMD 2.077.1. ===========Test code ============= import std.net.curl; void main() { // Send an email with SMTPS auto smtp = SMTP("smtps://smtp.gmail.com"); smtp.setAuthentication("from.a...@gmail.com", "password"); smtp.mailTo = ["<to.a...@gmail.com>"]; smtp.mailFrom = "<from.a...@gmail.com>"; smtp.message = "Example Message"; smtp.perform(); } --