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> 
BEGIN:VCARD
VERSION:2.1
N:Harders;Jan
FN:Jan Harders
ORG:hitservice.de;Geschäftsführung
TITLE:Geschäftsführer
TEL;WORK;VOICE:040/3905698
TEL;WORK;FAX:040/3905694
ADR;WORK:;;Fischers Allee 64;Hamburg;Hamburg;22763;Deutschland
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Fischers Allee 64=0D=0AHamburg, Hamburg 22763=0D=0ADeutschland
X-WAB-GENDER:2
URL:
URL:http://www.hitservice.de
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20000504T205046Z
END:VCARD

Reply via email to