Package: mantis
Version: 1.1.8+dfsg-10squeeze2
Severity: normal

Hi,

Mantis from squeeze does not work with TLS on smtp email delivery
method.
Eg. if authentication requires tls to be enabled.

After checking the source it is because mantis as in squeeze does simply
not forward the 'g_smtp_connection_mode' setting to phpmailer.

A quick fix was to just add this to the email_send function used in
core/

I just put it in a branch which is only called if PHPMAILER_METHOD_SMTP is used:

if ( !is_blank( config_get( 'smtp_connection_mode' ) ) ) {
    $mail->SMTPSecure = config_get( 'smtp_connection_mode' );
}

After this little change smtp+tls+auth worked without problems.

Michael Gebetsroither

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to