Mail with support for non-ssl connections
|Reported by:||kantan||Owned by:|
|Priority:||normal||Milestone:||1.6 Piwik 1.6|
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:
defaultHostnameIfEmpty = "[your hostname]"
transport = "smtp"
port = 25
host = "[your non-ssl smtp server]"
type = "Login"
username = "[your mail address]"
password = "[your password]"
encryption = "" #<- just leave it empty and a non-ssl connection can be made.