Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Sending E-mail attachment wihout using external module

by moritz (Cardinal)
on Nov 18, 2009 at 08:04 UTC ( #807871=note: print w/replies, xml ) Need Help??


in reply to Sending E-mail attachment wihout using external module

As soon as one of the headers is not a string literal, but rather a variable coming from the outside of your program, it's much harder to correctly deal with it - you have to strip newlines and maybe quotes, escape non-ASCII-characters and so on.

Which is why I recommend to look at Yes, even you can use CPAN and see if you really can't use a module. MIME::Lite appears to be a pure-Perl module, and thus you should be able to use it everywhere where you can put scripts by yourself.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: Sending E-mail attachment wihout using external module

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://807871]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-05-24 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?