World: r3wp
[!REBOL3 Schemes] Implementors guide
older newer | first last |
Andreas 8-Jan-2010 [510] | yeah, but there's nothing to write for the client at this point |
Steeve 8-Jan-2010 [511] | you mean after it's connected, the client should only waiting for data ? |
Andreas 8-Jan-2010 [512] | exactly |
Steeve 8-Jan-2010 [513] | i see |
Graham 8-Jan-2010 [514x2] | got it working .. need to enline the header |
what do I need to change?? | |
Steeve 8-Jan-2010 [516] | but is that really a burden to send by default an EHLO ? |
Andreas 8-Jan-2010 [517x3] | # ; need to write to the client to trigger flow of data # write client to-binary net-log/C rejoin ["EHLO " ehlo-msg CRLF] # ; now ready for the next state # client/spec/state: 'AUTH |
change this to: | |
read client | |
Graham 8-Jan-2010 [520] | give it a go ... |
Steeve 8-Jan-2010 [521] | seems that is doesn't bother the server :) |
Andreas 8-Jan-2010 [522x2] | client/spec/state: 'INIT |
no, but it bothers graham's state machine :) | |
Steeve 8-Jan-2010 [524] | ahah |
Graham 8-Jan-2010 [525] | no .... it does bad things :) |
Steeve 8-Jan-2010 [526] | Graham, you code looks clean, i like it |
Graham 8-Jan-2010 [527x2] | sever sends me a bye |
if you enline the message, it actually sends the complete email | |
Steeve 8-Jan-2010 [529] | Graham have you an smtp server where we can test your code ? i don't have one |
Graham 8-Jan-2010 [530] | Not me ... I'm using my ISPs and I don't know my password! |
Andreas 8-Jan-2010 [531] | just use your ISP's :) |
Steeve 8-Jan-2010 [532x2] | don't have one |
wifi spot | |
Graham 8-Jan-2010 [534] | ie. I can't test the authentication because I don't actually have an email account with them. |
Andreas 8-Jan-2010 [535] | smtp.gmail.com |
Graham 8-Jan-2010 [536x2] | yeah ... sure :) |
465 | |
Steeve 8-Jan-2010 [538] | i just have to create an account on gmail that's right ? |
Graham 8-Jan-2010 [539] | No, gmail only uses secure smtp |
Andreas 8-Jan-2010 [540x3] | ah, forgot about that, yes |
mail.gmx.net, then | |
you don't even need an account, try if you get to the server rejecting your message :) | |
Graham 8-Jan-2010 [543] | oh .. any isp will do ... |
Andreas 8-Jan-2010 [544] | graham, i need the awake handler in port/state/awake to be set, otherwise awake doesn't get called |
Graham 8-Jan-2010 [545x2] | I took it out to see why it was needed :) |
I mean I open the port and do a read .. and off goes my email | |
Andreas 8-Jan-2010 [547] | hmm, doesn't work for me |
Graham 8-Jan-2010 [548] | what do you mean? |
Andreas 8-Jan-2010 [549x3] | the smtp port's awake is never called |
ah, i see, you have the awake on the tcp port instead | |
strange | |
Steeve 8-Jan-2010 [552x2] | not strange, it's the only way |
fake ports (not tcp one) never receive events | |
Andreas 8-Jan-2010 [554] | the strange was rather a remark about the script not working for me |
Graham 8-Jan-2010 [555] | what happens in the trace? |
Andreas 8-Jan-2010 [556x3] | nothing |
but i think i know the reason | |
it's because the event device is not really working on linux | |
Graham 8-Jan-2010 [559] | I mean net-log |
older newer | first last |