Author Topic: Mail sent, but Roundcube doesn't know it.  (Read 6722 times)

Offline mblue

  • Newbie
  • *
  • Posts: 2
Mail sent, but Roundcube doesn't know it.
« on: December 27, 2006, 05:26:15 PM »
When I compose mail, and click on 'Send Message Now', it says 'Sending message' and the little spinning clock thing spins for 30 of 40 seconds. Then when I go to leave the page I get a MessgeBox that says 'Message was not sent. Do you want to discard your message'. The emails are being sent though. I check on the email account that I am sending to, and the emails arrive a few seconds after I clicked on 'Send Message Now'. For some reason Roundcube is not knowing that the emails are being sent. Also the sent messages don't appear in the Sent folder.
In the main.inc.php I have $rcmail_config['smtp_server'] set to '' so that it will use the php mail() function. Thanks for any ideas.

Offline mblue

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #1 on: December 27, 2006, 11:59:04 PM »
I now see that the problem isn't what I was I thought it was.
All that is happening is that the compose page is not reloading or redirecting when the message is submitted.
The only reason I am getting the 'Message not sent' messagebox is because I am still on the compose message page and I am clicking on links to get to another page. I know I am not being very clear, but it anyone sees what I am saying, and has any idea why I am not 'automatically' leaving the compose page when I click on 'Send Message', let me know.

Offline FlashIT

  • Newbie
  • *
  • Posts: 3
Re: Mail sent, but Roundcube doesn't know it.
« Reply #2 on: March 10, 2007, 01:22:45 PM »
Same here, but i am on the way ;-)

In the file
/roundcubemail/program/steps/mail/sendmail.inc
there's a line at the end:
Code: [Select]
rcube_iframe_response(sprintf("parent.$JS_OBJECT_NAME.sent_successfully('%s');",rep_specialchars_output(rcube_label('messagesent'), 'js')));

It produces the JS-command in the selected language. Sample: "parent.rcmail.sent_successfully('Nachricht erfolgreich gesendet');"

If i send this by the js-console directly to the page, the page reloads and all works as it should. So the question is, why roundcube hangs at this line and does not send the js-command?!

It seems that the function "rcube_iframe_response" is not called...

[update]
The function "rcube_iframe_response" is called after all, but why does the js-command does not reach the browser?! :-(

[update2]
Also the new page (which should generate the "email sent"-message) is created successfully by the script:
Quote


RoundCube Mail








But my browser is still at the same page and does not update it...
And now i dont know further :-/

Any ideas?!

Offline FlashIT

  • Newbie
  • *
  • Posts: 3
Re: Mail sent, but Roundcube doesn't know it.
« Reply #3 on: March 11, 2007, 09:00:20 AM »
Doh... Its server-specific ... Copied the installation to my own own server and it runs perfectly :-/

Old Server:
PHP Version 4.3.3
Apache Version    Apache/2.0.48 (Linux/SuSE)
Apache API Version    20020903

My own server:
PHP Version 4.3.10-18
Apache Version    Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-18 mod_ssl/2.8.22 OpenSSL/0.9.7e
Apache Release    10333100
Apache API Version    19990320

Any ideas?!

Offline oxygens

  • Jr. Member
  • **
  • Posts: 36
Re: Mail sent, but Roundcube doesn't know it.
« Reply #4 on: March 11, 2007, 04:26:18 PM »
have you considered upgrading your php they now recommend for security you be on 4.4.6 at least?

Offline FlashIT

  • Newbie
  • *
  • Posts: 3
Re: Mail sent, but Roundcube doesn't know it.
« Reply #5 on: March 11, 2007, 11:24:25 PM »
I will try to force the provider with the 4.3.3 to update... Let's see if it helps...

Offline kernelpanic

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #6 on: March 12, 2007, 09:36:35 AM »
Hello people..
I have the same problem.

mblue, have you tried to upgrade php?
FlashIT ?

Does a php upgrade fix this issue?

The server in question is a production server...
I can't stop the server to upgrade php now..
I need a working solution...
THanks!

===================
UPDATE:
I'm using Slackware 11.0,
I've done the upgrade in my PHP to 4.4.4 (from Slackware Current)
but sill not working...

Offline kernelpanic

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #7 on: March 13, 2007, 12:49:30 PM »
Hello people... the problem is not resolved..
FlashIT, and mblue: gived up roundcube?
I need a cool webmail like roundcube, but I need one
that works for me...

Thanks!

Offline nicmic

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #8 on: April 16, 2007, 02:02:43 PM »
I have the same issue and found that in the error log I have the line:

PHP Warning: Cannot modify header information - headers already sent in /[...]/rc/program/include/rcube_shared.inc on line 132

Offline mankan

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #9 on: April 24, 2007, 08:35:33 AM »
Any news on this one?

Im currently using nightly-20070318.

Offline limats

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #10 on: April 26, 2007, 05:58:05 AM »
Same problem here.

I think roundcube hangs when it trys to move the message in the sent folder.
All my messages receive at their origin but they appear only in my sent folder, if I become a positive status message after hitting the send button.

I also noticed that the problem has something to do with the length of the message. The limit is at about 1180 characters in the message body. One character less and it always works. One character more and it never works.

Perhaps this helps finding a solution.

Offline mankan

  • Newbie
  • *
  • Posts: 2
Re: Mail sent, but Roundcube doesn't know it.
« Reply #11 on: April 26, 2007, 06:14:08 AM »
I have solved my problem. I used my old database. After updatet whit the one in the nightly build my problem is gone. Yeah, and I love it :D