Loading ...
Sorry, an error occurred while loading the content.

Expand Messages
  • n.samuel79
    Hi All, I have a XML file with following information samuel.n@gmail.com n.samuel79@yahoo.co.in samuelmen@rediffmail.com
    Message 1 of 5 , Sep 11, 2008
    • 0 Attachment
      Hi All,

      I have a XML file with following information

      <mail>
      <from>samuel.n@...</from>
      <to>n.samuel79@...</to>
      <cc>samuelmen@...</cc>
      <bcc>xyz@...</bcc>
      <subject>Test Mail</subject>
      <msg>
      Hai All, This is test mail
      <table>
      <thead><row><entry>Col 1</entry><entry>Col 2</entry></row></thead>
      <tbody>.....</tbody>
      </table>
      </msg>
      </mail>

      Now i want to create .msg from this information (or save a .msg file)
      with all information such as from, to, cc, bcc, msg.

      For example, when you drag and drop a Mail from Microsoft outlook you
      will get a .msg file. If i double click on this file i can read all
      the information in respective place.

      Please help me out how to create a .msg from the perl

      Thanks
      Sam
    • Charles K. Clarkson
      ... Do you have the specification for the .msg file? We would need to know how the file is organized to munge the data into that format. I assume you already
      Message 2 of 5 , Sep 11, 2008
      • 0 Attachment
        n.samuel79 wrote:

        : Please help me out how to create a .msg from the perl

        Do you have the specification for the .msg file? We
        would need to know how the file is organized to munge
        the data into that format. I assume you already searched
        CPAN for a module which does this.


        Charles K. Clarkson
        --
        Mobile Homes Specialist
        Free Market Advocate
        Web Programmer

        254 968-8328

        http://www.clarksonenergyhomes.com/wordpress/about/

        Don't tread on my bandwidth. Trim your posts.
      • n.samuel79
        Hi Charles, I am new to perl. My requirement is simple. 1. I have a automated system, which will generates report saved in XML file 2. I want to convert the
        Message 3 of 5 , Sep 11, 2008
        • 0 Attachment
          Hi Charles,

          I am new to perl.

          My requirement is simple.
          1. I have a automated system, which will generates report saved in XML
          file
          2. I want to convert the XML to .msg using perl. After that user will
          cross check: from, to, cc, bcc, subject and msg generated in the msg file.
          3. Finally he will send the mail

          Please guide me in this or is there is any perl package is available
          in CPAN

          Thanks
          Sam




          --- In perl-beginner@yahoogroups.com, "Charles K. Clarkson"
          <cclarkson@...> wrote:
          >
          > n.samuel79 wrote:
          >
          > : Please help me out how to create a .msg from the perl
          >
          > Do you have the specification for the .msg file? We
          > would need to know how the file is organized to munge
          > the data into that format. I assume you already searched
          > CPAN for a module which does this.
          >
          >
          > Charles K. Clarkson
          > --
          > Mobile Homes Specialist
          > Free Market Advocate
          > Web Programmer
          >
          > 254 968-8328
          >
          > http://www.clarksonenergyhomes.com/wordpress/about/
          >
          > Don't tread on my bandwidth. Trim your posts.
          >
        • Charles K. Clarkson
          ... Hello. ... I assumed that. This is a perl beginners list. ... Yes. You explained this in the first email. We already know the file format for producing and
          Message 4 of 5 , Sep 11, 2008
          • 0 Attachment
            n.samuel79 wrote:

            : Hi Charles,

            Hello.


            : I am new to perl.

            I assumed that. This is a perl beginners list.


            : My requirement is simple.
            : 1. I have a automated system, which will generates report saved in XML
            : file
            : 2. I want to convert the XML to .msg using perl. After that user will
            : cross check: from, to, cc, bcc, subject and msg generated in the msg
            : file.
            : 3. Finally he will send the mail

            Yes. You explained this in the first email. We already know the file
            format for producing and reading XML files. It is a well known industry
            standard.

            You should reasonably expect us to already know this file format.
            You do not have to supply an XML file format because it is readily
            available.

            Outlook and Outlook Express produce and read .msg files. This file
            format is less well known among programmers. To aid us in helping you to
            produce, read and change this file format, you will need to supply us
            with relevant links describing that file format.

            You should not reasonably expect us to already know this file
            format. You need to supply the file format for .msg files.


            : Please guide me in this or is there is any perl package is available
            : in CPAN

            Well, you need to search CPAN for what you want and see if anything
            fits your needs. Go to: http://www.cpan.org/, select a search option and
            look for something that will help you with Outlook, an application
            which reads and writes .msg files. I have had good luck with the third
            search option (search.cpan.org).

            When I did a search for "outlook" I received 40 hits.

            http://search.cpan.org/search?m=all&q=outlook&s=1&n=50

            HTH,

            Charles K. Clarkson
            --
            Mobile Homes Specialist
            Free Market Advocate
            Web Programmer

            254 968-8328

            http://www.clarksonenergyhomes.com/wordpress/about/

            Don't tread on my bandwidth. Trim your posts.
          • conveyance
            n.samuel179, You can try OLE, that would allow you to drive Outlook. of course you d need outlook on the machine. I ve had much luck using it for Excel and
            Message 5 of 5 , Sep 11, 2008
            • 0 Attachment
              n.samuel179,

              You can try OLE, that would allow you to drive Outlook.
              of course you'd need outlook on the machine.

              I've had much luck using it for Excel and Access.
              You'll need to find the OLE object model for Outlook
              for reference purposes.


              --- In perl-beginner@yahoogroups.com, "Charles K. Clarkson"
              <cclarkson@...> wrote:
              >
              > n.samuel79 wrote:
              >
              > : Hi Charles,
              >
              > Hello.
              >
              >
              > : I am new to perl.
              >
              > I assumed that. This is a perl beginners list.
              >
              >
              > : My requirement is simple.
              > : 1. I have a automated system, which will generates report saved in XML
              > : file
              > : 2. I want to convert the XML to .msg using perl. After that user will
              > : cross check: from, to, cc, bcc, subject and msg generated in the msg
              > : file.
              > : 3. Finally he will send the mail
              >
              > Yes. You explained this in the first email. We already know the file
              > format for producing and reading XML files. It is a well known industry
              > standard.
              >
              > You should reasonably expect us to already know this file format.
              > You do not have to supply an XML file format because it is readily
              > available.
              >
              > Outlook and Outlook Express produce and read .msg files. This file
              > format is less well known among programmers. To aid us in helping you to
              > produce, read and change this file format, you will need to supply us
              > with relevant links describing that file format.
              >
              > You should not reasonably expect us to already know this file
              > format. You need to supply the file format for .msg files.
              >
              >
              > : Please guide me in this or is there is any perl package is available
              > : in CPAN
              >
              > Well, you need to search CPAN for what you want and see if anything
              > fits your needs. Go to: http://www.cpan.org/, select a search option and
              > look for something that will help you with Outlook, an application
              > which reads and writes .msg files. I have had good luck with the third
              > search option (search.cpan.org).
              >
              > When I did a search for "outlook" I received 40 hits.
              >
              > http://search.cpan.org/search?m=all&q=outlook&s=1&n=50
              >
              > HTH,
              >
              > Charles K. Clarkson
              > --
              > Mobile Homes Specialist
              > Free Market Advocate
              > Web Programmer
              >
              > 254 968-8328
              >
              > http://www.clarksonenergyhomes.com/wordpress/about/
              >
              > Don't tread on my bandwidth. Trim your posts.
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.