
jacksonpt
Deleted
Jul 11, 2000, 9:33 AM
Post #1 of 3
(102 views)
|
|
GRRRRR! Why doesn't this work?
|
Can't Post
|
|
OK, MIME::Lite documentation claims that it is a stand-alone module and that it requires nothing to use (no installation or anything). If that is the case, then why doesn't this work??? I have been tearing my hair out (and I didn't have much to begin with) for about 5 days now... what am I missing? I am sure it is something stupid that I just overlooking. It is just a simple script to send a test text message, and display a confirmation, that's all. Eventually, I need it to send a text message with an HTML attacment, but let's crawl before I start trying to walk. #!/usr/bin/perl use MIME::Lite; $msg = MIME::Lite->new( From =>'jacksonpt@stny.rr.com', To =>'jtaylor@binghamton.edu', Subject =>'Testing MIMELite!', Type =>'text', Data =>'This is a test message' ); $msg->send; print "Content-type:text/html\n\n"; print "<br><br><br><br><center><font size=+1>Message Sent...<br><br>Thank you.</font></center>\n";
|