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 to actually create and send the e-mail message. Here is a stripped down program that will send out an e-mail with an attachment, based on actual code, but not tested - #!/usr2/local/bin/perl use English; use MIME::Lite;MIME::Lite->send('smtp', smtpsrvr, Timeout=>60); # Use SMTP not sendmail my $youraddress = shift; # First commandline parameter my $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.ch com 4 u http://www.com4u.ch Breitistrasse 7B CH-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:

    
  1. Re[2]: Base64 encryption limitations? (jpeacock@univpress.com 1999)
  2. Re[2]: Base64 encryption limitations? (jpeacock@univpress.com 1999)
MIME::Lite is a helper module. You still need to write a Perl program to actually create and send the e-mail message. Here is a stripped down program that will send out an e-mail with an attachment, based on actual code, but not tested - #!/usr2/local/bin/perl use English; use MIME::Lite;MIME::Lite->send('smtp', smtpsrvr, Timeout=>60); # Use SMTP not sendmail my $youraddress = shift; # First commandline parameter my $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.ch com 4 u http://www.com4u.ch Breitistrasse 7B CH-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:

Developers in Washington State (2004) [/application] error? (1997) Dynamic Weather for my website - XML? (1999) LinkExchange (1997) Pieces Show Up! Curse You! (2000) question: webmerchant connection (1997) Fwd: new WebDNA 5 command reference (2003) [listfiles] (1998) SSL and reg web* (1997) Setting up shop (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) Forms IMG tag[OT] (2001) Delete file through browser (1999) Updating emailer (server) (2000) Credit Card Gateways (2005) Multiple prices (1997) unsubscribe (2000) Bulk Processing Offline (2004) Protect and Serve (1999) [WebDNA] [OT] BBEdit Glossary (2012)