July 15th, 2000, 11:49 AM
A simple question with hopefully a simple answer:
I am using perl in CGI script and the sendmail command. Am I able to attach a file from the server as an attachment with the e-mail. I want to send .jpg's.
Thanks in advance.
July 15th, 2000, 09:59 PM
Well, you are able to attach many things in your email message, the only real problem is how to do it. Its not that easy, but there are many modules on CPAN that would take care of that. You can also check the following article:
If you cannot isntall any new modules (your ISP doesn't provide it or something like that) you are in for some real treats, because you will have to read some RFCs and write your own routines. The RFCs are #822 and #2045, #2046, #2047, #2048. They can be found at:
July 16th, 2000, 06:31 PM
Thanks for the good info.