Re: SMTP returns sockXXX error when sending large emails



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Joy wrote:
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


Hi Robert,

I'm sure Pat tried all the obvious tricks, but there might be some bugs
left in iocpsock that are all my fault :)

If you find an issue that really does point to iocpsock, email me
directly as I don't read c.l.t that much these days.

- --
David Gravereaux <davygrvy@xxxxxxxxx>
[species:human; planet:earth,milkyway(western spiral arm),alpha sector]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFE9ORElZadkQh/RmERAoQiAKCNOi46hOPpZ8KBQXbwQ8fNJmlwgACeI7EB
4h7bTAgbVeMPAcNU9dwzICI=
=10j8
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: SMTP returns sockXXX error when sending large emails
    ... Robert Joy wrote: ... 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. ...
    (comp.lang.tcl)
  • Re: sending an email from windows application .net 2.0
    ... I am sure that our exchange server will allow to ... send emails through smtp. ... chilkat.net dll to send the emails. ... Like I said before I am using windows vista business edition. ...
    (microsoft.public.dotnet.framework)
  • 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 ... of trf allowed sending of mime attachments to succeed. ...
    (comp.lang.tcl)
  • 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. ...
    (comp.lang.tcl)
  • XP SP2 Socket Problem
    ... I have program which send emails. ... Now when I try to connect to the SMTP server it does not connects. ... I think machine is blocking port 25. ... Outlook Express is able to send emails and Windows Firewall is turned off. ...
    (microsoft.public.vc.mfc)