Re[2]: Base64 encryption limitations?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24959
interpreted = N
texte = MIME::Lite is a helper module. You still need to write a Perl program toactually create and send the e-mail message. Here is a stripped down programthat will send out an e-mail with an attachment, based on actual code, but nottested -#!/usr2/local/bin/perluse English;use MIME::Lite;MIME::Lite->send('smtp', smtpsrvr, Timeout=>60); # Use SMTP not sendmailmy $youraddress = shift; # First commandline parametermy $filename = shift; # Second commandline parametermy $myaddress = 'myaddress@mydomain.com';my $msg = new MIME::Lite From => $myaddress, To => $youraddress, Subject => 'Test E-Mail', Type => 'multipart/mixed';my $MSG = <'TEXT', Data =>$MSG;attach $msg Type =>'application/import', Encoding =>'base64', Path =>$filename;$msg->send;____________________Reply Separator____________________Subject: Re: Base64 encryption limitations? Author:
(WebCatalog Talk)Date: 12/1/99 4:13 PM>>>There are many other packages out there that can encode files, both >for the Mac>and PC (not to mention Unix). If you are trying to include a file >in an e-mail,>you should look at Perl and the MIME::Lite module. A simple 20 line >program can>easily include a file attachment in an e-mail.>>HTH>>John PeacockJohn, Have you gotten MIME lite to work with webcat variables like passing the filename to be e-mailed from webcat to MIME lite?Micheal O Shea Email:micheal@com4u.chcom 4 u http://www.com4u.chBreitistrasse 7BCH-5506 Maegenwil Tel: +41 62 896 46 26-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
MIME::Lite is a helper module. You still need to write a Perl program toactually create and send the e-mail message. Here is a stripped down programthat will send out an e-mail with an attachment, based on actual code, but nottested -#!/usr2/local/bin/perluse English;use MIME::Lite;MIME::Lite->send('smtp', smtpsrvr, Timeout=>60); # Use SMTP not sendmailmy $youraddress = shift; # First commandline parametermy $filename = shift; # Second commandline parametermy $myaddress = 'myaddress@mydomain.com';my $msg = new MIME::Lite From => $myaddress, To => $youraddress, Subject => 'Test E-Mail', Type => 'multipart/mixed';my $MSG = <'TEXT', Data =>$MSG;attach $msg Type =>'application/import', Encoding =>'base64', Path =>$filename;$msg->send;____________________Reply Separator____________________Subject: Re: Base64 encryption limitations? Author: (WebCatalog Talk)Date: 12/1/99 4:13 PM>>>There are many other packages out there that can encode files, both >for the Mac>and PC (not to mention Unix). If you are trying to include a file >in an e-mail,>you should look at Perl and the MIME::Lite module. A simple 20 line >program can>easily include a file attachment in an e-mail.>>HTH>>John PeacockJohn, Have you gotten MIME lite to work with webcat variables like passing the filename to be e-mailed from webcat to MIME lite?Micheal O Shea Email:micheal@com4u.chcom 4 u http://www.com4u.chBreitistrasse 7BCH-5506 Maegenwil Tel: +41 62 896 46 26-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
jpeacock@univpress.com
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
shipcost (1997)
Emailer Question (1998)
Emailer (1997)
Mac 2.1b4 unknown error: BadSuffix (1997)
[OT] MS Security Flaw (2000)
WebCatalog for guestbook ? (1997)
Multiple CPUs? (2000)
Help with (2003)
shownext & math (1997)
Bug or syntax error on my part? (1997)
[OT] Bad Hard Drive? (2003)
Transfering [text] variables (2000)
Not really WebCat- (1997)
cookies (2004)
Re:no [search] with NT (1997)
[BoldWords] WebCat.acgib15Mac (1997)
WCS Newbie question (1997)
Summing a field full of numbers ... (1997)
Webstar 1.3.1 PPC (1997)
Next X hits (1996)