Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Cannot send SMTP with large binary attachment

2010-09-30
2013-05-30
  • Jean-Samuel
    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
                    vari…"
        (procedure "mime::copymessageaux" line 75)
        invoked from within
    "mime::copymessageaux $token $channel "
        invoked from within