le 13/02/07 14:01, Simon Walter à [EMAIL PROTECTED] a écrit :

> Where/how do you generate the download link?
> 
> In my setup the reports contain a link to a php-script with parameters
> of date and messageid. The script shows the content of the specified
> message on a html-page. This way I don't have any problems with
> special characters.
> 
> But I agree with you, if you get this link out of mailscanner there should be
> a way to get the string url-encoded.

Hi Simon!

Sorry for the delay. I was busy.

To generate the link, I placed this line in the corresponding .txt report
file:

http://$hostname/quarantine/$datenumber/$id/$filename

I associated this line with a dedicated Apache vhost.

When the user receive the message, he only have to click on the link
included in the report (or mail body depending of Mailscanner setup).

When I built the system, I was looking for the simple way to handle this.

Sincerely,

Stef...



Reply via email to