Ticket #1485034 (closed Bugs: duplicate)
Sending attachments not working (MIME/file types)
| Reported by: | jharris3434 | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-alpha |
| Component: | Client Scripts | Version: | 0.1.1 |
| Severity: | normal | Keywords: | attachments, MIME |
| Cc: |
Description
I could not figure out how to change my previous ticket(#1484926), which I put in milestone "later" by mistake, so this is a duplicate. Till mentioned in the forums that he'd give this one a look. --Thanks in advance
RC 0.1 Stable, PHP 5.2.5, MySQL 5, hMailServer, and IIS6 on W2K3 server. Using Firefox 2.0.0.12
Attachments are not sending properly. To clarify: A mail client (e.g. Thunderbird) isn't understanding the attachments that RC sends. RC is sort of understanding the attachments RC sends. (RC understands the attachments other mail programs send perfectly.) In more detail:
Attachments sent with RC, opened in Thunderbird
PDFs show up attached, and email body is shown, but Thunderbird thinks the file type is TXT. JPGs and DOCs aren't showing up at all, neither does the text in the body of the email. Thunderbird is showing the size of the email properly.
Attachments sent with RC, opened in RC
All attachment filetypes are showing up properly, but RC isn't opening them up in the 'native' viewer like it does for attachments that are handled properly (i.e. sent from Thunderbird), it just prompts for download. The files are uncorrupted when downloaded.
There are no errors in the logs.
I tested to make sure fileinfo() was working correctly with magic.mime using this guide: http://www.cu-autosolution.com/random/Fileinfo.html
Indeed, everything is working. In my main.inc.php, I changed the 'mime_magic' variable to:
$rcmail_config['mime_magic'] = 'C:\PHP\extras\magic\magic.mime';
(That directory has read & execute permissions for IIS, which I think should be enough.)
Any ideas?
