Thread: MIME contents

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Malm
    Posts
    13
    Rep Power
    0
    Im wondering if someone knows how to find and extract MIME contents from email.

    Ive looked at the MIME modules that comes with perl but haven't got anything to work.

    want to be able to for example store GIF files from the letter on my server if the mail contains it.

    I've looked at MIME: ecoder and so on but needs a good example to get it to work!

    Can someone help me on this ?
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Start here for an easy way -> http://www.perl.com/CPAN-local/modul...-0.7.04.tar.gz

    Copied from its SYNOPSIS section:
    SYNOPSIS
    use Mail::Sender;
    $sender = new Mail::Sender
    {smtp => 'mail.yourdomain.com', from => 'your@address.com'};
    $sender->MailFile({to => 'some@address.com',
    subject => 'Here is the file',
    msg => "I'm sending you the list you wanted.",
    file => 'filename.txt'});

    Also check out -> http://www.devshed.com/Talk/Forums/F...ML/000318.html

IMN logo majestic logo threadwatch logo seochat tools logo