Results 1 to 9 of 9
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Swift Current, Sask. Canada, Saskatchewan, Canada
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    html email (outlook 2k)

    Is there a way to strip music or other sounds from html email. I have tried to find the files that make up an email, to no luck.

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: html email (outlook 2k)

    Are they attached to the email, or simply links to a source on the web? (You should be able to find out via Right-click within the body of the message and View Source...)

    Are you wanting to strip them so you have your own copy, or to prevent them being included if you want to (say) forward the message on?

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Swift Current, Sask. Canada, Saskatchewan, Canada
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: html email (outlook 2k)

    I would like the option to do either, but mainly to strip it.

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: html email (outlook 2k)

    And the answer to my first question ...? <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: html email (outlook 2k)

    I don't know if you have ever tried to read HTML, but it might be useful to know whether the sounds are actually embedded in / attached to the message, or are being retrieved from the Internet. If you right-click the message and view source, you can search for the reference to the sound file. In particular, try finding bgsound (background sound) and see if the path points to something like http:// or cid: (the latter is one way that Outlook indicates the location of an embedded resource).

    Sadly, Outlook does not let you edit your message using the "manual" HTML view. However, it should be possible to write a macro to do it. For an example of code that edits an HTML message, see this thread: Remove reply indenting from HTML message (Outlook.

  6. #6
    Star Lounger
    Join Date
    Jan 2001
    Location
    Swift Current, Sask. Canada, Saskatchewan, Canada
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: html email (outlook 2k)

    I dug a little deeper. The email is composed of 10 files according to the properties. I looked at the source and yes it is a cid <DIV><BGSOUND balance=0
    src="cid:019701c60054$0e44a370$31ba4046@potter"

    I looked at the page you referred me to, but I don't know a thing about macros, so I guess this is about as far as I can go. Thanks so much for the help.

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: html email (outlook 2k)

    Well... you have at least two options. The first is to remove the HTML code telling Outlook to play the sound. The second is to delete the sound attachment itself. Either should stop the sound from playing, but the second may well reduce the size of the message, which might be useful, as sound files that play for a while could be large.

    The following code will display a form showing all the attachments to a message and let you remove them. Note that until you save the message, the change should be temporary. Outlook remembers the temporary change until you navigate to another message, at which time it might warn you to save your changes, or not. I can't recall exactly what Outlook 2000 does. In Outlook 2003, if I remove an image from the Reading Pane (like the preview pane in Word 2000), it seems to be permanent even if I don't want to save. Hmmm...

    Anyway, to install this, unzip the files to some handy place on your computer. Then open the VBE (Visual Basic Editor) using Alt+F11. Then use File>Import to bring the unzipped files into Outlook's VB storage. This will take two operations, one for each of the files visible in the import dialog. Depending on your macro security, you might need to close the VBE, change to "Medium" and exit and restart Outlook. Otherwise, you can run the macro StripAttachmentsTest and see whether it works. Naturally, you should work on a message you can afford to trash. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Sadly, Outllook's knowledge of attachments and the cid numbers in HTML source do not match. You'll have to try to find the sound file using its extension (e.g., .mp3, .wma, .wav, etc.). Does it help?

  8. #8
    Star Lounger
    Join Date
    Jan 2001
    Location
    Swift Current, Sask. Canada, Saskatchewan, Canada
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: html email (outlook 2k)

    I am not familiar with macros or vbs, but I played around with this. Finally got the procedure right I guess, as I was able to strip the music out of the email. Cut it from about 800 k to under 300 so it made a big difference. Unfortuneatly I couldn't see a way to save it but such is life. Thanks for the help.

  9. #9
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: html email (outlook 2k)

    You want to save the music file to disk? That shouldn't be difficult once the attachment has been identified, but I don't have time to work on it today.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •