Hi to all!
a CGI script is takeing data from a Form and sending email using that the form message text box containing this:
the last URL is like that:
http://www.k****ij.com/research/Asian Currencies June07.pdf
which whole part is not beging linkable on text or HTML email.
i have set the varaiable for HTML mail as follows:
$message = $INPUT{'message'};
$messtext = $INPUT{'message'};
($messhtml = $message) =~ s/(\w+\@\w+\.\w+)/<a href=\"<A href="mailto:$1\">$1<\/a>/g">mailto:$1\">$1<\/a>/g;
$messhtml =~ s/(\w+:\/\/)([.a-zA-Z0-9\-~\/\_\/\?\/\=\/]*)/<a href=\"$1$2\">$1$2<\/a>/g;
$messtext is for text mail and $messhtml for HTML email i am using but that space is not converted properly and only this part
'http://www.k****ij.com/research/Asian' is clickable rest 'Currencies June07.pdf' is not.
please help me out!