Being an Office Bearer of a modest sized association and its webmaster at the same time, every once in a while I need to send out emails with attachments to all the members. I have created an HTML form in which I type the subject and body of the email. This in turn activates a Perl script written by me, which reads names and email addresses from a text file and sends away emails (without attachments) to each member. So far so good.
But what if I need to attach a pdf of jpg along with this bulk email. I know I can do it using an email client. But I would like to do it using the same HTML form.
I believe CPAN has some modules for this purpose. But I have never followed how to use these modules or how to incorporate them with my CGI Perl scripts. Their documentation is very brief, complicated and too advanced for a simpleton like me.
Can some kind soul out there take a few minutes of his/her time and give me STEP by STEP instructions on how to use the CPAN module (or any other module) to achieve my purpose.
My knowledge of Perl and CGI is very elementary, so I will need an in-depth tutorial.
My website runs on a UNIX server and I use cgi-lib.pl.
Thanks in advance.
But what if I need to attach a pdf of jpg along with this bulk email. I know I can do it using an email client. But I would like to do it using the same HTML form.
I believe CPAN has some modules for this purpose. But I have never followed how to use these modules or how to incorporate them with my CGI Perl scripts. Their documentation is very brief, complicated and too advanced for a simpleton like me.
Can some kind soul out there take a few minutes of his/her time and give me STEP by STEP instructions on how to use the CPAN module (or any other module) to achieve my purpose.
My knowledge of Perl and CGI is very elementary, so I will need an in-depth tutorial.
My website runs on a UNIX server and I use cgi-lib.pl.
Thanks in advance.