Author Topic: Cannot attach files or forward messages with attached files  (Read 5214 times)

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« on: December 19, 2011, 02:11:30 PM »
i have IIS7 on a win server 2008 R2 and hmailserver

Roundcube will send and receive emails just fine but i can't attach any files to an email or forward an email with an attachment. I can however receive and download attachments that have been sent to me.

if i click the attachment icon on the top i get the browse prompt just fine but after I select the file it just says "Uploading file..." but never uploads it

I have the php safe mode set to OFF
my max post size is 25M my max file size is 20M and the file i'm testing is 401 bytes (text file)
I set the temp file directory to be the temp file in roundcube

anything else I can do to get this to work?

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Cannot attach files or forward messages with attached files
« Reply #1 on: December 19, 2011, 02:19:30 PM »
Whats in the error log?

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« Reply #2 on: December 19, 2011, 02:41:41 PM »
a lot of failed logins, nothing about uploads

Offline klausguenter

  • Newbie
  • *
  • Posts: 5
Cannot attach files or forward messages with attached files
« Reply #3 on: December 19, 2011, 07:15:04 PM »
Have you switched file_uploads on in php?

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« Reply #4 on: December 20, 2011, 09:56:21 AM »
yes file_uploads = On

I get a 500 error when I try to forward an email with an attachment if that sparks anything?

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Cannot attach files or forward messages with attached files
« Reply #5 on: December 20, 2011, 02:38:42 PM »
500 means server error, it should be putting something in the RoundCube error log.

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« Reply #6 on: December 20, 2011, 04:36:21 PM »
the error log has a few errors like this

[14-Dec-2011 12:07:42 -0600]: IMAP Error: Login failed for info@trisomy-13.com from 70.89.242.50. LOGIN: Invalid user name or password. in C:\inetpub\wwwroot\Webmail\program\include\rcube_imap.php on line 199 (POST /?_task=login&_action=login)


that is all, i also checked IIS it doesn't have anything in the event log
and my Hmailserver doesn't have any real errors in its log ether
« Last Edit: December 20, 2011, 05:58:24 PM by T-13 »

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Cannot attach files or forward messages with attached files
« Reply #7 on: December 21, 2011, 04:51:56 AM »
And what does the ISS-log mention about the 500-error?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« Reply #8 on: December 21, 2011, 03:51:09 PM »
there are no errors in the IIS7 event log only "information" logs informing me its not really being used

"A worker process with process id of '2636' serving application pool 'Webmail' was shutdown due to inactivity.  Application Pool timeout configuration was set to 20 minutes.  A new worker process will be started when needed."

this is the 500 error

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

when i refreshed the error page it loaded the message without the attachment and allowed me to forward the message, i did receive it but still no attachment

apparently it was a php error not an IIS error, but that gave me the idea to dig into the error itself a bit... here is the php error

PHP Warning:  fopen(): Filename cannot be empty in C:\inetpub\wwwroot\Webmail\plugins\filesystem_attachments\filesystem_attachments.php on line 84


this is the iis call before the error
2011-12-21 21:12:40 ::1 GET / _task=mail&_id=9899985094ef24bc6f0394&_action=compose 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+WOW64;+rv:7.0.1)+Gecko/20100101+Firefox/7.0.1 500 0 0 1077
« Last Edit: December 21, 2011, 04:28:41 PM by T-13 »

Offline T-13

  • Newbie
  • *
  • Posts: 6
    • http://www.trisomy-13.com
Cannot attach files or forward messages with attached files
« Reply #9 on: January 04, 2012, 04:46:55 PM »
does anyone know how to fix this or what it means?