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:

delete a file? (1998) Graphing Modules (2004) WebDNA maxing out processor (2008) WC Database Format (1997) Online reference (1997) Commas in search (1998) [WebDNA] Kickstarter project - CodeBabel (2013) Summing fields (1997) Error Messages Returned to User (1997) Extra equals signs with IE? (More debugging questions...) (1997) WebCommerce: Folder organization ? (1997) any suggestions for creating a multi-lingual site? (1999) Am I being really stupid? (2003) Post arguments problem mac? (1997) Include a big block of text (1997) anyone on the list work with Generator and WebCat together? (1999) too many nested tags ... (1997) Multiple prices (1997) WebCatalog for guestbook ? (1997) WC2b12: Yes, Formulas.db is for real (1997)