SMTP returns sockXXX error when sending large emails



Hi,

On a Windows XP Pro box I have a strange problem when using the smtp package to send large emails or emails with large attachments (>70KB not all that big really). The problem seems to be related to the Trf package that is loaded inside the smtp module. If I remove the bit about Trf and try to send I can send huge files wiht no issue what so ever. Has any one ever seen this OR have any idea why this is happening. I have no problems emailing large files using Outlook or Thunderbird on my system. I currently using the iocpsocket package but the problem orignally was happening with the standard Tcl socket at a much lower payload (>10K).

The error is as follows:

400: error writing "iocp508": invalid argument

I had Pat Thoyts look at the issue and he's recommended using sockspy to debug the problem but when I put sockspy in the loop the problem went away.

Also, I noticed that when I enable the -usetls option it does not encrypt the message as it's sending so I'm also wondering if this may have something to do with the issue. Like there is a package missing but no documentation to help you figure this out.

Now Pat Thoyts swears that this all works fine for him on his Windows XP box but I have yet to see it work for me. I've tried it on both my desktop and my laptop with the same result. I'm baffled. Any help would be very much appreciated!

Robert Joy
.



Relevant Pages

  • Re: SMTP returns sockXXX error when sending large emails
    ... On a Windows XP Pro box I have a strange problem when using the smtp ... package to send large emails or emails with large attachments (>70KB not ... The problem seems to be related to the Trf package ... Now Pat Thoyts swears that this all works fine for him on his Windows XP ...
    (comp.lang.tcl)
  • Re: Error 8000FFFF when WU search for updates
    ... transaction due to file in use or Component reboot required, package changes ... pending xml and registry identifiers ... This is because another update within the same install transaction ... The "Windows Features" dialog box is empty in Windows Vista, ...
    (microsoft.public.windowsupdate)
  • Re: Setup Error on Friends Computer
    ... Microsoft Visual Basic Enterprise Edition for Windows 6.0 ... Microsoft Visual Basic Professional Edition for Windows 6.0 ... You try to install a Microsoft Visual ... Basic 6.0 application that you package by using the Package and Deployment ...
    (microsoft.public.vb.general.discussion)
  • Bad experience with David Silveus from Cincinnati Sci-Fi
    ... find out my package was "undeliverable" and was sent back to him. ... call his store and one his staff says they'll re-ship the figure again. ... I've probably sent 8-10 emails and called ... there are a lot of other customers trying to contact him. ...
    (rec.arts.sf.starwars.collecting.vintage)
  • Re: Bad experience with David Silveus from Cincinnati Sci-Fi
    ... find out my package was "undeliverable" and was sent back to him. ... call his store and one his staff says they'll re-ship the figure again. ... I've probably sent 8-10 emails and called ... there are a lot of other customers trying to contact him. ...
    (rec.arts.sf.starwars.collecting.vintage)