when i send attachments through outlook or outlook express its fine. when i send the attachment through sqwebmail web interface then the attachments are renamed as .dat .
sqwebmail does not rename any attachment as .dat.
See the headers of the sent message.i have the same problem over here. as far as i have found out, the problem exists only if the attached filename has special characters in it, e.g. space or the german "umlaut"s. the received mail is shown right in sqwebmail but if i look at it in outlook express (haven't tested other apps) only the filenames that have no special characters are displayed right, the other have filenames like "ATTxxxxxx.ext" with "ext = the right extension".
i remember in some other cases (perhaps an earlier version of sqwebmail?) i have had the same problem as you that showed the filenames with .dat instead the right file extension... okay the whole filename is still wrong :-(
sam, any idea what the problem could be?
When the filename contains any non-English characters, or if it contains punctuation, sqwebmail uses RFC 2231 to encode the attachment filename. RFC 2231 defines attachment filename encoding for international and special characters.
If the receiving mail client does not implement RFC 2231, it will not be able to determine the attachment filename, and then it will do whatever it does when it cannot determine the attachment filename. Using whatever.dat seems like a reasonable default.
pgp00000.pgp
Description: PGP signature
