Professional Web Applications Themes

Extracting attachment from mail - PERL Beginners

On Thu, 2004-05-13 at 14:52, NYIMI Jose (BMB) wrote:  perldoc MIME::Pr...

  1. #1

    Default Re: Extracting attachment from mail

    On Thu, 2004-05-13 at 14:52, NYIMI Jose (BMB) wrote: 

    perldoc MIME::Pr



    Ramprasad Guest

  2. #2

    Default RE: Extracting attachment from mail

    NYIMI Jose (BMB) wrote: 

    Mail::IMAPClient or Mail::POP3Client
     

    MIME::Pr
     

    Spreadsheet::WriteExcel
    Bob Guest

  3. #3

    Default RE: Extracting attachment from mail

    > NYIMI Jose (BMB) wrote: 
    >
    > Mail::IMAPClient or Mail::POP3Client

    >
    > MIME::Pr
    >[/ref]

    While were listing modules ;-), I will throw in Mail::Box, since it is
    one distro that should be able to do both the accessing and parsing.

    http://danconia.org


    Wiggins Guest

  4. #4

    Default RE: Extracting attachment from mail

    > > -----Original Message----- 
    >
    >
    > One more info about the flow:
    >
    > * the original mail comes from an external user (outside our company):[/ref]
    no problem to that ... 
    to an unix user (solaris): good ? 
    /var/mail/username 

    It sounds like you have a fair amount of control. Out of curiousity have
    you considered having an alias established on the solaris box that
    rather than dumps the message to a mail box, instead pipes it to a
    program (aka your perl program). That program can then p the
    message directly on STDIN. This cuts out the need for the scheduler,
    cleaning up the mail folder (since the message is handled directly and
    then discarded (if desired)), and allows the file to be handled closer
    to real time.

     
    day. 
    /var/mail/username file. 

    Well Mail::Box can certainly handle the above load, with the exception
    of the scheduling, but I assume that would be cron, but it has a decent
    learning curve. If you can dumb the script down to just taking the
    message on STDIN then presumably any MIME aware message pr should be
    sufficient, the other requirements at that point are just header parsing
    which any mail handler should do about equally well. MB provides
    message sending capabilities, and I like having one package that does it
    all, but again any MIME sending module should be sufficient.

    http://danconia.org

    Wiggins Guest

  5. #5

    Default RE : Extracting attachment from mail


     
    > >
    > >
    > > One more info about the flow:
    > >
    > > * the original mail comes from an external user (outside our[/ref][/ref]
    company): [/ref]
    attachment) 
    > /var/mail/username 
    >
    > It sounds like you have a fair amount of control. Out of curiousity[/ref]
    have 

    Nice! I will investigate on that.

    José.


    Jose Guest

Similar Threads

  1. mail form with attachment
    By stevieg_83 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: August 16th, 01:58 AM
  2. sending attachment with mail()
    By Roy G. Vervoort in forum PHP Development
    Replies: 4
    Last Post: February 18th, 06:03 AM
  3. [PHP] mail mime attachment
    By Steven Murphy in forum PHP Development
    Replies: 0
    Last Post: August 27th, 05:47 PM
  4. mail mime attachment
    By Moritz Steiner in forum PHP Development
    Replies: 0
    Last Post: August 27th, 09:37 AM
  5. Mail attachment not appearing.
    By Anthony Rocchio in forum PHP Development
    Replies: 0
    Last Post: July 24th, 07:26 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139