Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Multipart Messages

Help
shiba doo
2008-04-23
2013-05-29
  • shiba doo
    shiba doo
    2008-04-23

    Hi there,

    I am trying to send multipart messages with Blat, but I was not successful. The multipart switch is obviously only for size reasons.

    Is it possible to send multipart messages (so that people with HTML enabled within their email clients can see the HTML email, and all the others can see the text-only email)???

    If yes, what is the syntax like?

    Thanks for your help!

     
    • namtog
      namtog
      2008-04-23

      Greetings,

      Check out the syntax info again, in particular;

      -html: send an HTML message (Content-Type=text/html)
      -alttext <text> : plain text for use as alternate text
      -alttextf <file>: plain text file for use as alternate text

      blat
      body.html
      -to someone@someplace.com
      -f "address@domain"
      -subject "test"
      -html
      -alttextf body.txt
      -embed logo.gif

      The HTML can be this simple;

      <html><body><img src="cid:logo.gif">
      <p>Dear Sir/Madam,</p>
      <p>Please read this note and sign your life away.</p>
      <p>Devilishly yours,</p>
      <p>Bob</p>
      </body></html>

      Namtog

       
    • shiba doo
      shiba doo
      2008-04-25

      Thanks a lot, works perfectly!!! I simply didn't recognise the switch "-alttext" as the trigger for the mulitpart message.... GREAT !