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:

WCf2 and nested tags (1997) [quantity] solved (1997) Searching for Email Address (2004) Different Tax levels (1998) Using Applescript to process WebCatalog functions (1998) TCPConnect strange behaviour (2004) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) WebCatalog2 Feature Feedback (1996) RE: New WebCatalog Version !!! (1997) Is grep not working with umlauts? (2002) New WebCatalog Version !!! (1997) Line items in table cells (1997) [WebDNA] WebDNA app (2013) TCPConnect misbehavin' for me. (2000) Errant Email. (1998) Include binary files in template/XML (SOLVED/Request new (2004) [WebDNA] An unknown error occured // Deadlock avoided (2011) WebCatalog for Postcards ? (1997) Some ThankYou page problems (1997) using cookies to prevent access (2000)