Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

variation when running a script

5 views
Skip to first unread message

newtop...@yahoo.com

unread,
Apr 29, 2008, 12:02:00 AM4/29/08
to
Hello,

I have written a script to send a plain text message to my yahoo email
address. This works on my WinXP desktop which has Active Tcl 8.4.14
and tcllib1.8. However, the same script does not work on a WinXP
laptop which has ActiveTcl 8.4.17 with tcllib1.10. I have upgraded
and downgraded both Tcl and Tcllib versions individually on the laptop
to get it to work but with no success.


"set errorInfo" returns this:

key message-id not in header
while executing
"error "key $mixed not in header""
("default" arm line 5)
invoked from within
"switch -- $key {
"" {
set result ""
foreach lower $state(lowerL) mixed $state(mixedL) {
lappend result..."
(procedure "::mime::getheader" line 7)
invoked from within
"::mime::getheader $part ${message-idL} "

I then used the -debug 1 option to see where it gets stuck. I get the
following output (I munged the smtp server name at yahoo):


Trying xyz.yahoo.com...
... read from server timed out ...
... read from server timed out ...


The lines with "... read" are printed several minutes after the first
line.


Any idea what is going on here? The laptop is connected to the
internet so perhaps there is some sort of security setting preventing
the connection?


dave.j...@googlemail.com

unread,
May 1, 2008, 5:45:40 AM5/1/08
to
Have you conducted a 'telnet xyz.yahoo.com 25' test on the laptop to
separate any networking issues from any script issues ? Can you show
us the smtp conversation up to the point it fails ?

Dave

0 new messages