Re: E-Mail Attachment Filename Encoding Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> my problem is that I send an e-mail with an attachment (pdf file). I get the
> filename out of a mysql table. While using echo or downloading the file, the
> filename is showed as expected but as an attachment it is not properly
> encoded:
> Should be: PC-Beschaffung 2008 (nur für Lehre)
> Will be: US-ASCII''PC-Beschaffung%202008%20(nur%20f%C3%BCr%20Lehre)
>
> I think I have to encode the file name and already tried utf8encode but this
> didn't help.

This may help:

http://www.phpguru.org/static/mime.mail.html

-- 
Richard Heyes

HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated February 14th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux