Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail with support for non-ssl connections #2562

Closed
anonymous-matomo-user opened this issue Jul 12, 2011 · 3 comments
Closed

Mail with support for non-ssl connections #2562

anonymous-matomo-user opened this issue Jul 12, 2011 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

Attachment: Patch for mail.php
MailPatch.patch

@anonymous-matomo-user
Copy link
Author

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
Copy link
Member

mattab commented Jul 14, 2011

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

@anonymous-matomo-user anonymous-matomo-user added this to the 1.6 Piwik 1.6 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants