Search the web
Sign In
New User? Sign Up
blat · Discussion of BLAT. Blat is a command line email tool (sending mail via smtp), written for Windows.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Problems sending raw file   Message List  
Reply | Forward Message #11270 of 11472 |
Re: [blat] Problems sending raw file

> Thanks! I fixed the problem by removing the -raw attribute.
>
> However, the end game is to take an email message (usually multipart, from
> Outlook), remove the headers, and send it on to a new batch of addresses.
> Is this possible, without decoding the original message, getting the
> attachments, then forming a new message by reconstituting the old? I was
> hoping to just whip off the old headers and use the saved message file as
> the basis for the new message, but it's looking complicated.



Theoretically, it is possible. However, there are some caveats. You will
need to keep some of the headers so that Blat can "append" them to its own
outgoing headers. Basically, you want to remove any header that has
identifiable information such as "Received:", "To:", "From:", "Cc:", and
"X-OriginatingIP:". You can run your saved messages through AWK to strip
out unwanted headers, and then use the output as raw input to Blat. With
the -raw option, Blat will build its own headers immediately above the ones
from your raw output, meaning there will be -no- blank lines after Blat's
headers to separate them from ones you provide in your raw output.

--
Chip




Wed Jul 8, 2009 3:32 am

chipprogrammer
Offline Offline
Send Email Send Email

Forward
Message #11270 of 11472 |
Expand Messages Author Sort by Date

Here's the command line: blat.exe "C:\Temp\6154708871a.txt" -raw -t "o.m.watson@..." -f "owen.watson@..." -subject "TEST 16:07:39" -debug -server ...
Owen Watson
owen13watson
Offline Send Email
Jul 7, 2009
4:20 am

Hey Owen, On Tuesday, July 7, 2009 at 12:19:12 AM you wrote OW> Here's the command line: OW> blat.exe "C:\Temp\6154708871a.txt" -raw -t "o.m.watson@..."...
Tim Musson
mussont
Offline Send Email
Jul 7, 2009
1:12 pm

Thanks! I fixed the problem by removing the -raw attribute. However, the end game is to take an email message (usually multipart, from Outlook), remove the...
Owen Watson
owen13watson
Offline Send Email
Jul 7, 2009
10:22 pm

... Theoretically, it is possible. However, there are some caveats. You will need to keep some of the headers so that Blat can "append" them to its own ...
Chip
chipprogrammer
Offline Send Email
Jul 8, 2009
3:33 am

Thanks for that, Chip. I seem to have it working using the unpacked content (though there were some problems until I converted CR->CR+LF in the original html...
Owen Watson
owen13watson
Offline Send Email
Jul 8, 2009
5:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help