This little script will help you ;-)

Yves

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 8:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Perl - Mailing Related doubt [ Mail Merge ]


Dear friends,

            I would like to do the Mail merge like concept in perl
            I have the  data file which looks like

            File 1:
                        #user        ntlogin        email      project
list of files
                        pons     ponma       XXXX     yyy
file1,file2,file4
                        david    htwhtio        jihtihii    dwt
file5,file6.file56


            Mail format:  ( it is like a template )

                           Dear <user>

                              You have used these files for completing this
project  <project>
                               List of files

 
----------------------------------------------------------------------------
---------------------
                              Sl.No       File name
 
----------------------------------------------------------------------------
---------------------
                              1           file1
                              2                              file2
                              3                              file4
 
----------------------------------------------------------------------------
------------------------

           =============================================  ######
=======================================



      I would like to send this kind of mail to around 100 uses. I am using
the Mail::Sendmail library.
      My doubt:

                  1.  How will i form the message from the program itself  ?
                  2..  Is it possible to send the mail without using any
other intermediate file to form the message.?
                  3.  How can i use the format ( FORMAT Statements ) in the
mailing inorder to send the same kind of mail to more than one user.

      Please give me your valuable suggestions.



With Regards,
Pons.
____________________________________________________
Ponnambalam. M.A.
Philips Medical Systems,
Philips Innovation Campus,
#1,Murphy Road, Ulsoor.
Bangalore - 560008. INDIA
Phone : +91- 080 - 557 9000 Extn: 1013
E-mail: [EMAIL PROTECTED]
____________________________________________________


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Attachment: test.pl
Description: Binary data

#user    ntlogin        email           project        list of files
pons     ponma          [EMAIL PROTECTED]      yyy            file1,file2,file4
david    htwhtio        [EMAIL PROTECTED]      dwt            file5,file6.file56

Reply via email to