How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>";
mail.headers["To"] = "foo@bar.com, ...";`
How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>";
mail.headers["To"] = "foo@bar.com, ...";`
On Mon, 25 Nov 2013 00:18:53 GMT, Stephan Dilly wrote:
How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>"; mail.headers["To"] = "foo@bar.com, ...";`
semicolons wont work either:
mail.headers["To"] = "foo@bar.com; ...";
Am 25.11.2013 01:19, schrieb Stephan Dilly:
On Mon, 25 Nov 2013 00:18:53 GMT, Stephan Dilly wrote:
How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>"; mail.headers["To"] = "foo@bar.com, ...";`
semicolons wont work either:
mail.headers["To"] = "foo@bar.com; ...";
I think commas might work. But with the latest vibe.d versions,mail.addField("To", "foo@bar.com")
can be used to add multiple fields
of the same name.
On Mon, 25 Nov 2013 08:06:12 +0100, Sönke Ludwig wrote:
Am 25.11.2013 01:19, schrieb Stephan Dilly:
On Mon, 25 Nov 2013 00:18:53 GMT, Stephan Dilly wrote:
How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>"; mail.headers["To"] = "foo@bar.com, ...";`
semicolons wont work either:
mail.headers["To"] = "foo@bar.com; ...";
I think commas might work. But with the latest vibe.d versions,
mail.addField("To", "foo@bar.com")
can be used to add multiple fields
of the same name.
I tried commas. That did not work. I will try addField. Thanks
On Mon, 25 Nov 2013 08:37:46 GMT, Stephan Dilly wrote:
On Mon, 25 Nov 2013 08:06:12 +0100, Sönke Ludwig wrote:
Am 25.11.2013 01:19, schrieb Stephan Dilly:
On Mon, 25 Nov 2013 00:18:53 GMT, Stephan Dilly wrote:
How can i specify multiple recipients ?
all this wont work:
mail.headers["To"] = "<foo@bar.com>,<...>"; mail.headers["To"] = "foo@bar.com, ...";`
semicolons wont work either:
mail.headers["To"] = "foo@bar.com; ...";
I think commas might work. But with the latest vibe.d versions,
mail.addField("To", "foo@bar.com")
can be used to add multiple fields
of the same name.I tried commas. That did not work. I will try addField. Thanks
Came back to that issue again now. First I tried adding a Cc as a workaround.. but guess what, our mail relay does not seem to support that (totally different wtf) but your multi To solution had the flaw that sendMail did not support it :D
Now you got a PR for that one:
https://github.com/rejectedsoftware/vibe.d/pull/582
On Sun, 16 Mar 2014 12:43:39 GMT, Stephan Dilly wrote:
Came back to that issue again now. First I tried adding a Cc as a workaround.. but guess what, our mail relay does not seem to support that (totally different wtf)
ok turns out it is totally related: sendMail did not support CC/BCC. added it to the same PR