[Issue 8540] std.net.curl.SMTP doesn't escape leading dots

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 11 15:55:49 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8540



--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> 2012-08-11 15:55:47 PDT ---
Oh, wait a minute on the From thing... I guess the headers can be part of the
message. That's actually good, makes it easier to use for fancier things.

Might want to change the documentation: it says "Sets the message body text."
but if it can include headers as well, might want to note that.

I'm not sure how curl does the separation... but eh however it works we should
make it clear.

    smtp.message = "X-Test: awesome
Content-Type: text/html

    cool";

From: destructionator at gmail.com
X-Test: awesome

[-- text/html is unsupported (use 'v' to view this part) --]


So yeah those took as headers.



But this is getting a little off topic... the dot escaping needs to be done
regardless.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list