Author Topic: [0.2 stable] cannot send emails  (Read 4243 times)

Offline jan.n

  • Newbie
  • *
  • Posts: 7
[0.2 stable] cannot send emails
« on: January 12, 2009, 12:09:07 PM »
Hi all,

I just installed roundcube - works like a charm, but I can't send emails. The Log reads "[12-Jan-2009 17:32:28] STARTTLS failed ():", but that's written in the log when I login, so no smtp-related info in the logfile...

I can read mails, delete them ... I just can't send any. At the top there is this box reading "sending message" (or whatever it is in English) but then... nothing happens until I interrupt the whole thing.
I think it's all about SMTP-Auth... Doen anyone know the correct settings for the German provider Strato?

This is a part of my main.inc.php:
// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$rcmail_config['smtp_server'] = 'smtp.strato.de';

// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 25;

// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = '%u';

// SMTP password (if required) if you use %p as the password RoundCube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '%p';

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = 'LOGIN'

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
[0.2 stable] cannot send emails
« Reply #1 on: January 13, 2009, 04:45:17 AM »
First of all: Is authentication required when sending an email?

And you can check this part of the config:

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = 'LOGIN'

Try to use one of the other options here.
Julius Caesar

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

Offline plazboz

  • Newbie
  • *
  • Posts: 1
same problem
« Reply #2 on: January 13, 2009, 10:50:39 AM »
Hi,
I have the same problem with RoundCube 0.2stable.
I can read, delete messages, but sending message stucks on "Sending message...". Changing SMTP configuration (server/auth type) don't change anything :( Even leaving $rcmail_config['smtp_server'] blank (to use mail() function) don't solve this problem and RC stucks.

Email adresses look like alias@domain.com.
Login look like domain_com-alias.
SMTP server needs authentication.

Offline tole

  • Newbie
  • *
  • Posts: 1
Same here ...
« Reply #3 on: January 14, 2009, 07:03:20 AM »
It's not possible to send mails for me. I've tried all possible settings and different mail servers.

regards,
tole

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
[0.2 stable] cannot send emails
« Reply #4 on: January 14, 2009, 09:42:52 AM »
http://www.roundcubeforum.net/deutsch/4076-0-2-stable-kann-keine-mails-senden.html

For this guy the issue was solved by setting the special IMAP folders as subfolders of INBOX ... INBOX.sent, INBOX.drafts, INBOX.trash, etc.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline ParadoX

  • Newbie
  • *
  • Posts: 3
[0.2 stable] cannot send emails
« Reply #5 on: January 15, 2010, 07:04:07 AM »
Quote from: tole;16354
It's not possible to send mails for me. I've tried all possible settings and different mail servers.

regards,
tole


Hello,

I had the same problem and the solution on the other thread did not help. I managed to get it to work by changing this line:

$rcmail_config['smtp_server'] = 'smtp.strato.de';

Just leave it empty !

$rcmail_config['smtp_server'] = '';

Hope it works,
Cheers

Offline ParadoX

  • Newbie
  • *
  • Posts: 3
after all ...
« Reply #6 on: January 26, 2010, 04:00:55 PM »
... my solution is not quite working. Whereas it is fine when a send really short emails (one sentence, less than 50 chars let's say), it works instantly, as soon as the message gets longer, it does not send.

Well, it only sends the first 50 chars of the whole email, really weird !

So I have the same problem as everyone here, please help :(

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,568
    • http://SKaero.com/
[0.2 stable] cannot send emails
« Reply #7 on: January 27, 2010, 03:21:32 AM »
My guess is that your provider limits the php mail function (that is what is used when you does set a smtp server) to only send 50 chars to reduce spam. Ask your provider if your smtp server needs ssl, what port its on and what authentication its using.