Hmm...
The capital C is out...
s/%([A-Fa-f0-9]{2})/pack("c",hex($1))/ge;
Conrad
----- Original Message -----
From: "Jan Harders Perl-Win32-Users Mailing List"
<[EMAIL PROTECTED]@lyris.ActiveState.com>
To: "Perl-Win32-Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 29, 2000 8:23 PM
Subject: Mail::Sender
> HI,
> I wrote a script that is processing an form and then send an email. I used
> Mail::Sender because it should send files too. it works allright, but I
got
> an textarea in the form for the body of the email. My problem is that the
> newlines given from the form are not printed in the mail. I tried to give
> the body back to the browser and print it into a file, and it works, there
> are newlines. But still, it doesnt work in the mail. I used
>
> $msg =~ tr/+/ /;
> $msg =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
>
> to decode the URL given by GET.
> Does anybody know where my mistake is? How can I make it work?
> Regards,
>
> Jan Harders <[EMAIL PROTECTED]>
> --
> hitservice.de <www.hitservice.de>
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]