gnu@perl has asked for the wisdom of the Perl Monks concerning the following question:
Anyway, I was wondering if someone could tell me how to base64 encode files before sending them. It would appear the only thing I would need to change is the "Content-Transfer-Encoding: UUENCODE" to "Content-Transfer-Encoding: BASE64" in the email header.
I would like a perl method for doing this in code, no modules. I am aware that there are modules to do this (Mime::Lite), but this code will end up on boxes where I cannot add modules.
Your help is greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(z) Re: base64 encoding
by zigdon (Deacon) on Jan 08, 2003 at 14:49 UTC | |
by spike_hodge (Novice) on Feb 27, 2003 at 08:42 UTC | |
by zigdon (Deacon) on Feb 27, 2003 at 14:10 UTC | |
|
Re: base64 encoding
by aging acolyte (Pilgrim) on Jan 08, 2003 at 14:51 UTC | |
|
Re: base64 encoding
by Callum (Chaplain) on Jan 08, 2003 at 14:46 UTC |