Using PHP to parse mail header

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Using PHP to parse mail header

    Hello!

    I am very new to PHP (or any type of scripting language), and am trying to
    write a PHP script that will accept email headers posted into a form.

    Upon submission, the script needs to parse the time, date, and mail server
    info. In the end, it should respond with how much of a delay it took for
    the original message.

    Please check out the following link for an idea of a sample output:
    [url]http://198.104.182.189/php-scripts/emaildelay.htm[/url]

    Any pointers, references, functions, sample parsers would be immensely
    appreciated!

    Thanks so much for your kind attention.
    Respectfully,
    Faisal


    Faisal Humayun Guest

  2. Similar Questions and Discussions

    1. Like CFPOP, but read text file of mail message and parse instead
      I have an existing (non CF) support tracking system that read emails from a server and populates a database. I'm writing a report in CFMX that will...
    2. Library to parse mail files
      Hi, What would be that best library/module for parsing a mail file. I want to be able to extract the values for header tags as well as the...
    3. How does one use PHP to parse mail headers?
      Hello! I am very new to PHP (or any type of scripting language), and am trying to write a PHP script that will accept email headers posted into a...
    4. beginner trying to parse a piece of mail
      I have had success now using Mail::MboxParser for all my basic mail parsing needs, like getting subject, from, to. Now bossman wants me to do more...
    5. Mail parse
      I am curious if there is a better documentation of Mail Parse functions than the one provided on the php.net site. Any help is appreciated, R>
  3. #2

    Default Re: Using PHP to parse mail header

    "Faisal Humayun" <(DONT_SPAM)faisal_humayun@hotmail.com> wrote in message
    news:NGJdb.213$LJ5.11900@iad-read.news.verio.net...
    > Hello!
    >
    > I am very new to PHP (or any type of scripting language), and am trying to
    > write a PHP script that will accept email headers posted into a form.
    >
    See the same thread in alt.php


    Ivo Guest

  4. #3

    Default Re: Using PHP to parse mail header

    Ivo,
    I'd request that you please feel exempted from answering any future requests
    from me, unless you have something truly helpful to offer.


    "Ivo" <no@thank.you> wrote in message
    news:3f77a1fd$0$35684$1b62eedf@news.wanadoo.nl...
    > "Faisal Humayun" <(DONT_SPAM)faisal_humayun@hotmail.com> wrote in message
    > news:NGJdb.213$LJ5.11900@iad-read.news.verio.net...
    > > Hello!
    > >
    > > I am very new to PHP (or any type of scripting language), and am trying
    to
    > > write a PHP script that will accept email headers posted into a form.
    > >
    > See the same thread in alt.php
    >
    >

    Faisal Humayun Guest

  5. #4

    Default Re: Using PHP to parse mail header

    The new PHP versons have functions for that , I just cant remember how they
    are called.

    It's a nice alternative for imap functions without needing a connection,
    just a mail source

    "Faisal Humayun" <(DONT_SPAM)faisal_humayun@hotmail.com> wrote in message
    news:GU_db.224$LJ5.12889@iad-read.news.verio.net...
    > Ivo,
    > I'd request that you please feel exempted from answering any future
    requests
    > from me, unless you have something truly helpful to offer.
    >
    >
    > "Ivo" <no@thank.you> wrote in message
    > news:3f77a1fd$0$35684$1b62eedf@news.wanadoo.nl...
    > > "Faisal Humayun" <(DONT_SPAM)faisal_humayun@hotmail.com> wrote in
    message
    > > news:NGJdb.213$LJ5.11900@iad-read.news.verio.net...
    > > > Hello!
    > > >
    > > > I am very new to PHP (or any type of scripting language), and am
    trying
    > to
    > > > write a PHP script that will accept email headers posted into a form.
    > > >
    > > See the same thread in alt.php
    > >
    > >
    >
    >

    sebastien Guest

Posting Permissions

  • You may not post new threads
  • You may 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