saibsk
asked on
sendmail in perl script
I have this bit of code in my perl script.
open STDOUT,'|sendmail user@domain.com' or die $!
How can change this send an attachment, body as well as subject? Please advise.
open STDOUT,'|sendmail user@domain.com' or die $!
How can change this send an attachment, body as well as subject? Please advise.
Ditto on the MIME::Lite suggestion.
ASKER
I can't download any modules on the box. I need to use some unix mail command .....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I dont' have the perms to dowonload. But in the above code how do i attach the file
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you say you don't have permission to download, do you mean your company policy disallows it, or you are not connected to the Internet?
ASKER
company policy.
http://search.cpan.org/~rjbs/MIME-Lite-3.021/lib/MIME/Lite.pm