Thanks! I tried adding the full path. It turns out that I can send other types of attachments such as text files. But it is the excel files that get attached as empty files.
Any idea why this is happening? I tried various MIME types that correspond to xls files but that didn't seem to help...
Do you mean this statement:
my $attachment_fullpath='filename.xls';
At first I thought this parameter meant the path to the file, but in the documentation it seems that this parameter simply refers to the original name of the file and filename refers to the name of the attachment in the email...
Hi,
I got a solution to my original problem of not being able to send an e-mail at all
http://www.tek-tips.com/viewthread.cfm?qid=1514393#post
I implemented this code on my computer thats running Vista and WAMP v 2 as the webserver.
This code worked perfectly on that machine...
hi
Im new to Perl.
Im trying to write a program to send an e-mail via my cgi script. I tried various options - MIME::Lite, Sendmail, Mail::Sender, and none seem to work.
I get no error message in the Server Log file, but I dont receive an e-mail either. I suspect that it cant establish a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.