Jean-Samuel - 2010-09-30

I am trying to build a message with text and a HTML alternative plus an attachment which is an 1.2mb large binary file

set partsM
lappend partsM

set partsA
lappend partsA

set messageT

When sent using smtp::sendmessage triggers the following error

error writing "sock1748": invalid argument
    while executing
"puts -nonewline $channel "
    ("file" arm line 37)
    invoked from within
"switch - $state(value) {
        file {
            set closeP 1
            if {} {
                # FRINK: nocheck
    (procedure "mime::copymessageaux" line 75)
    invoked from within
"mime::copymessageaux $token $channel "
    invoked from within