spewn
Programmer
- May 7, 2001
- 1,034
i'm using this basic code to email:
what i'm trying to do is send a text file along with this email...
i know i can accomplish this with MIME Lite, but how about with what i'm working with?
thanks!
- g
Code:
open (MAIL, "|/usr/sbin/sendmail -t") || return 0;
select (MAIL);
print << "EOF";
To: That Guy <email\@yoursite.com>
From: My Company <email\@mysite.com>
Subject: Heres that file
blah blah blah
EOF
close (MAIL);
select (STDOUT);
what i'm trying to do is send a text file along with this email...
i know i can accomplish this with MIME Lite, but how about with what i'm working with?
thanks!
- g