On Mon, 23 Aug 2004, Paul Kraus wrote:
Is [there] a way to have the file as the body of the message?
Not that I can think of.
It would be interesting to look at one of these Excel-embedded mails to see how it works. My hunch is that the message is being sent as a traditional multipart-mime message, where there is a HTML part that does nothing but pull in the spreadsheet file in an <object> tag. This is MS html we're dealing with, so there will be lots of other cruft in there as well, but at core I bet it's about that simple.
If that's the case, then you can reproduce this by sending your own, similarly constructed mail, where the html body is something like:
<html> <head><title>$subject</title></head> <body><object classid="$hexadecimal_encoded_url"></object></body> </html>
There's probably a bit more to it than that, but that's close.
-- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/
np: 'I Believe (When I Fall In Love It Will Be Forever)' by Stevie Wonder from 'High Fidelity'
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>