World: r3wp
[Core] Discuss core issues
older newer | first last |
Volker 16-May-2006 [4447x3] | To pass recipients in the bcc too, parse that. send/header [x-:-y] text [bcc: "[a-:-b]"] -> mail goes to [x-:-y] and [a-:-b] |
and bcc is cleared. | |
IMHO that is straightforward without guru-knowledge. | |
Gabriele 16-May-2006 [4450x4] | doesn't make sense - it should parse to: too in that case, and the address list would just be discarded? |
better to allow something like the email function above | |
send [to: ...] msg where send detects this checking for a set-word? | |
it seems to only add confusion to me. ymmv. | |
Volker 16-May-2006 [4454x2] | Not mm, Brocks. "Joe, I had problems with BCC in a corporate mass emailing I did. Even though it did not display the email address in the mail client, if you viewed the header of the mail message the BCC content was there." |
And yes, if i put 'to in the header in my client, i expect it works in send/header too. | |
Maxim 16-May-2006 [4456x3] | we need refererence manuals like python has. which explicitely state every limit and all intended useages of any and all words and refinements. |
we keep guessing many things and not many of us use things like 'source to figure things out (when its even possible) | |
currently we have a brief dictionnary with SOME but not all of the information. | |
Volker 16-May-2006 [4459] | No, we need compatibility with common uses. Python maybe not, python has no "email!" AFAIK. But rebol has, creates an illusion and breaks it on the next possibility, leading to this bcc-thing. |
Anton 16-May-2006 [4460] | No we don't. A programmer who wants to know how the mail system works should read existing standards documents. |
Maxim 16-May-2006 [4461x2] | come one Anton... you expect the mass to have time to read explicit out of language dry docs? |
if a language has a feature which supports something, it has to explain exaclty how it does it. | |
Volker 16-May-2006 [4463x2] | I like that send [to: ...] msg |
send [to: [x-:-y] subject: "i am back"] "had great hollidays" | |
Maxim 16-May-2006 [4465] | send is just the example of what the word does SOME things more than it should, but not all, and does not fully explain everything. We are used to a lot of consistency in rebol. and if a word makes email shortcuts but not all of them... I understand the frustration which can come from a mistake, when you can't really know how -REBOL's- mail handling is performed... no matter what are the standards. |
Volker 16-May-2006 [4466x2] | But, how about dropping 'send and switching to 'email completely in R3? 'send is a nice word for rebservices etc. IIRC Carl noted that somewhere. |
Then in case of email 'send could be stupid without *any* headers, and 'email the dialected smart version. | |
Maxim 16-May-2006 [4468x2] | http is supposed to be handled in rebol, yet I had to rewrite my own http-post function to talk to a webservice operating only in http1.1 of which rebol had a lot of trouble handling. yet the service was compliant and rebol was not. |
Good idea volker. | |
Pekr 16-May-2006 [4470] | Volker - nice suggestion, really, isn't Linux shell using mail or email command too? Would make sense ... to even blockify its input arguments ... |
Maxim 16-May-2006 [4471] | make send more stupid so we assume/expect less of it. and make a proper email function which handles most common useage like a mail client does it. |
Volker 16-May-2006 [4472] | visitor. cu |
Maxim 16-May-2006 [4473] | ? |
Volker 16-May-2006 [4474] | suden visitor. Have to talk in person :) |
Rebolek 16-May-2006 [4475] | I've got a question. open/skip does not work? |
Volker 16-May-2006 [4476x2] | open/seek ? |
That was added later. /skip works thru some networking IIRC. | |
Rebolek 16-May-2006 [4478] | I need it on files |
Volker 16-May-2006 [4479] | Try seek, and then use 'skip etc. IIRC that works. (needs the newer rebols) |
Rebolek 16-May-2006 [4480] | hm, works strange, but works :) |
Anton 16-May-2006 [4481x2] | port: open/direct/skip url size ; resume position <- this can fail when file is complete already |
I just spent a couple of nights working on a batch-downloader. | |
Joe 16-May-2006 [4483] | Anton, yes bcc is a blind copy. Gabriele explains it better than I did. I found it very easy to code the new send function with the snippet above . The trick is to compose the right header and then send the message to both the to and bcc recipients. The MTA does remove the bcc field so the to: recipient or even the bcc: recipient do not have a bcc header field |
Brett 16-May-2006 [4484x2] | It does seem that the bcc issue is caused by the presence of bcc in system/standard/email. Perhaps send could raise an error if it finds bcc set - and or - remove bcc from system/standard/email. |
Maxim, re http-post. Are you talking about a bug in the http scheme? You seem to be implying something structural. Is the issue fixed in the new versions of REBOL or still present? | |
Joe 17-May-2006 [4486] | Brett, bcc is set to none by default so it doesn't cause any issues. If the field is set and exported as part of the header, the mail transfer agent will remove it |
Maxim 17-May-2006 [4487] | yes the scheme had issues with content lenghts. and I needed to post in 1.1 which is not handled directly by the scheme AFAICT. |
Rebolek 19-May-2006 [4488] | I though I've got it working but it was a mistake. I'm still not able to use /skip refinement on files succesfully. Does anybody now, if it's possible to OPEN or READ file from some offset? I saw some bug filled in RAMBO two years ago :((( |
Volker 19-May-2006 [4489x2] | p: open file p: skip p 123 data: copy p IIRC |
open/seek | |
Rebolek 19-May-2006 [4491x2] | so /skip refinement is good for what? |
I cannot use copy/part in this case :( | |
Volker 19-May-2006 [4493] | /skip : Backward compatibility. It helps with resume through http AFAIK. |
Rebolek 19-May-2006 [4494] | So how can I succesfully write read/binary/part/skip ? |
Volker 19-May-2006 [4495] | write %test.txt "123456789" p: open/seek %test.txt p: at p 4 probe copy/part p 4 |
Rebolek 19-May-2006 [4496] | Thanks |
older newer | first last |