@anonymous-piwik-user opened this Issue on July 12th 2011

When building the array in core/mail.php line 48++ dynamically like I did, then you can leave out the SSL parameter in the config file and use a non-ssl mailserver. Otherwise (current version) you are embedding "ssl"->NULL and Zend cannot handle that.

Config can now look like:
[mail]
defaultHostnameIfEmpty = "hostname"
transport = "smtp"
port = 25
host = "non-ssl smtp server"
type = "Login"
username = "mail address"
password = "password"
encryption = "" #<- just leave it empty and a non-ssl connection can be made.
Keywords: mail ssl

@anonymous-piwik-user commented on July 12th 2011

Attachment: Patch for mail.php
MailPatch.patch

@anonymous-piwik-user commented on July 12th 2011

Sorry, did not use new-line correctly

Config can now look like:
[mail]
defaultHostnameIfEmpty = "hostname"
transport = "smtp"
port = 25
host = "non-ssl smtp server"
type = "Login"
username = "mail address"
password = "password"
encryption = "" //<- just leave it empty and a non-ssl connection can be made.

@mattab commented on July 14th 2011 Owner

(In [5019]) Fixes #2562 Kuddos kantan for the patch!

This Issue was closed on July 14th 2011
Powered by GitHub Issue Mirror