Re: Mime with attachments



newtophp2000@xxxxxxxxx schrieb:
Hello,

I can send email messages using smtp after I construct simple text
messages using mime. I can also send a file as an attachment after I
construct it with mime.

What I really need to do is combine the two steps: send a text message
along with a file as an attachment, and I am not sure how to proceed.
When I construct individual mime objects and put them together using
the "-parts" mechanism, it doesn't seem to work.

Text plus Attachments is just multipart/mixed with the first part being
a plain text mime part.

See for an example:
http://wiki.tcl.tk/3016

Michael
.



Relevant Pages

  • Mime with attachments
    ... I can send email messages using smtp after I construct simple text ... construct it with mime. ... When I construct individual mime objects and put them together using ...
    (comp.lang.tcl)
  • Re: OpenSSL to sign & encrypt a binary file?
    ... An email message as transmitted on the wire by SMTP (sendmail) is ... The most popular mechanism for doing so right now is MIME. ... receiving MUA can split the message correctly. ...
    (comp.unix.sco.misc)
  • Re: OpenSSL to sign & encrypt a binary file?
    ... An email message as transmitted on the wire by SMTP is ... The most popular mechanism for doing so right now is MIME. ... receiving MUA can split the message correctly. ... mail headers for the signature and encryption are added ...
    (comp.unix.sco.misc)
  • Re: Using rexx to send an email
    ... would like to email the spread sheet to someone as an attachment. ... If you really want to use mime and SMTP you should look at the OrxUtils package available on the ooRexx SouceForge download page. ...
    (comp.lang.rexx)
  • Re: smtp
    ... > the smtp in the tcl help menu, why did it uses two backslashes? ... mime: mime is a way to indicate what type ... proc send_message {recipient email_server subject filename attachments} ... package require smtp ...
    (comp.lang.tcl)