#1
  1. No Profile Picture
    ...try and try again
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Lake Forest, CA, USA
    Posts
    182
    Rep Power
    15
    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.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    300
    Rep Power
    15
    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:
    http://www.stonehenge.com/merlyn/Web...ues/col46.html

    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:
    http://www.faqs.org

    HTH.
  4. #3
  5. No Profile Picture
    ...try and try again
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Lake Forest, CA, USA
    Posts
    182
    Rep Power
    15
    Thanks for the good info.

    Sharky

IMN logo majestic logo threadwatch logo seochat tools logo