- Ignore DSN request when it isn't supported by SMTP server (#1487800)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Ignore DSN request when it isn't supported by SMTP server (#1487800) |
| | | - Make sure LDAP name fields aren't arrays (#1488108) |
| | | - Fixed imap test to non-default port when using ssl (#1488118) |
| | | - Force all files to be overwritten when updating (#1488117) |
| | |
| | | if ($opts['dsn']) { |
| | | $exts = $this->conn->getServiceExtensions(); |
| | | |
| | | if (!isset($exts['DSN'])) { |
| | | $this->error = array('label' => 'smtpdsnerror'); |
| | | $this->response[] = "DSN not supported"; |
| | | return false; |
| | | } |
| | | |
| | | if (isset($exts['DSN'])) { |
| | | $from_params = 'RET=HDRS'; |
| | | $recipient_params = 'NOTIFY=SUCCESS,FAILURE'; |
| | | } |
| | | } |
| | | |
| | | // RFC2298.3: remove envelope sender address |
| | | if (preg_match('/Content-Type: multipart\/report/', $text_headers) |
| | |
| | | $messages['smtpfromerror'] = 'SMTP Error ($code): Failed to set sender "$from" ($msg).'; |
| | | $messages['smtptoerror'] = 'SMTP Error ($code): Failed to add recipient "$to" ($msg).'; |
| | | $messages['smtprecipientserror'] = 'SMTP Error: Unable to parse recipients list.'; |
| | | $messages['smtpdsnerror'] = 'SMTP Error: No support for Delivery Status Notifications.'; |
| | | $messages['smtperror'] = 'SMTP Error: $msg'; |
| | | $messages['emailformaterror'] = 'Invalid e-mail address: $email'; |
| | | $messages['toomanyrecipients'] = 'Too many recipients. Reduce the number of recipients to $max.'; |
| | |
| | | $messages['smtpfromerror'] = 'Błąd SMTP ($code): Nie można ustawić nadawcy "$from" ($msg).'; |
| | | $messages['smtptoerror'] = 'Błąd SMTP ($code): Nie można dodać odbiorcy "$to" ($msg).'; |
| | | $messages['smtprecipientserror'] = 'Błąd SMTP: Parsowanie listy odbiorców nie powiodło się.'; |
| | | $messages['smtpdsnerror'] = 'Błąd SMTP: Statusy dostarczenia (DSN) nie są obsługiwane przez serwer.'; |
| | | $messages['smtperror'] = 'Błąd SMTP: $msg'; |
| | | $messages['emailformaterror'] = 'Błędny adres e-mail: $email'; |
| | | $messages['toomanyrecipients'] = 'Zbyt wielu odbiorców. Zmniejsz ich liczbę do $max.'; |