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:

Selling WebDNA as a solution (2003) removing programming logic white space (2003) WC 2.0 frames feature (1997) Where's Cart Created ? (1997) Loop into field (1998) Where's Cart Created ? (1997) Error (1997) Linux DB problems (2000) credit card question (simple) (2001) Web DNA... (2007) Custom WebCat Prefs ... (1997) Trouble with formula.db (1997) Pipe Conversions (1998) problem with NT beta (1997) Re:Running 2 two WebCatalog.acgi's (1996) Problems with [Applescript] (1997) how to add to triggers.db (1998) too many nested [xxx] (1997) WebCat2b15MacPlugin - showing [math] (1997) shipping costs (1997)