01-13-2010 11:34 AM
I had too many bitmaps, etc to attach, so I put it all togehter into one Word file. Hopefully this works. I need help figuring out how to put together an http message in MIME format in LabVIEW so that I can send messages with content, such as excel files, or txt files. Here is more information on the problem I'm having.
01-14-2010 12:12 PM
Hi mrbean,
A quick wikipedia search for MIME suggests that you need to have a boundary between parts of your message and at the beginning and the end. Is this the case in your VI? In an effort to test this in LabVIEW, can you get a successful MIME message from the old application and send it via LabVIEW to make sure the transmission is ok?
01-14-2010 02:18 PM
01-20-2010 10:56 AM
Hi mrbean,
Are you able to test this message?
From: Nathaniel Borenstein To: Ned Freed Subject: Sample messageMIME-Version: 1.0Content-type: multipart/mixed; boundary="simple boundary"This is the preamble. It is to be ignored, though it isa handy place for mail composers to include anexplanatory note to non-MIME compliant readers.--simple boundaryThis is implicitly typed plain ASCII text.--simple boundaryContent-type: text/plain; charset=us-asciiThis is explicitly typed plain ASCII text. It DOES endwith a line break.--simple boundary--
I found it at this site discussing MIME messages (http://www.mindspring.com/~mgrand/mime.html) I'm curious to see if you can write this message directly in LabVIEW if you'll be able to read it correctly.
01-22-2010 10:35 AM
Although this example does do exactly what I want to do, it did show me some fields that I've been unable to get working (First Boundary, Encapsulated Data). I need help figuring out why it thinks it's malformed. Also, in my example, I need to send an Excel file (and a txt file in another scenario)
01-25-2010 05:56 PM
Hi mrbean,
The invoke node you are using is just passing the values from LabVIEW to the ActiveX function. Beyond that, it's starting to move out of the scope of LabVIEW and into the realm of the MIME protocol and the ActiveX call. You may want to take a closer look at the details of the Navigate2 function and what format of data it accepts.
01-26-2010 07:12 AM