Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Mail with support for non-ssl connections #2562

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

@anonymous-piwik-user

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

Attachment: Patch for mail.php
MailPatch.patch

@anonymous-piwik-user

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
Owner

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

@anonymous-piwik-user anonymous-piwik-user added this to the 1.6 Piwik 1.6 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.