Hello,
We are having trouble getting Piwik to send emails via our SMTP server - Office 365
We are using the "Forgot Password" function to test sending emails, but are getting these errors for the different configurations below:
SMTP server address: smtp.office365.com
SMTP Port: 587
Authentication method for SMTP: Login
SMTP username: the username
SMTP password: the password
And the errors:
SMTP encryption: TLS (Recommended by Microsoft)
Error: 5.7.60 SMTP; Client does not have permissions to send as this sender Possible reason: your host may have disabled the mail() function.
Please contact your Piwik administrator.
We also tried:
SMTP encryption: SSL
Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Possible reason: your host may have disabled the mail() function.
Please contact your Piwik administrator.
In both cases, the error mentioned: Possible reason: your host may have disabled the mail() function.
I did a search on this online, found a lot of people asking how to enable it but no answers as to how.
We have Piwik hosted on IIS 8.5, installed by the Microsoft Web Platform Installer with PHP 5.6.0. The few mail settings in php.ini have not been modified, but really they shouldn't make a difference anyway as we are specifying the account information in Piwik.
The issue here has to be with either our host or Piwik as we have validated the SMTP details work fine.
Can anyone offer any thoughts as to how we can get this working?
Thank you
EDIT: It appears as though the mail function is actually enabled already (see attached image).
We are having trouble getting Piwik to send emails via our SMTP server - Office 365
We are using the "Forgot Password" function to test sending emails, but are getting these errors for the different configurations below:
SMTP server address: smtp.office365.com
SMTP Port: 587
Authentication method for SMTP: Login
SMTP username: the username
SMTP password: the password
And the errors:
SMTP encryption: TLS (Recommended by Microsoft)
Error: 5.7.60 SMTP; Client does not have permissions to send as this sender Possible reason: your host may have disabled the mail() function.
Please contact your Piwik administrator.
We also tried:
SMTP encryption: SSL
Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Possible reason: your host may have disabled the mail() function.
Please contact your Piwik administrator.
In both cases, the error mentioned: Possible reason: your host may have disabled the mail() function.
I did a search on this online, found a lot of people asking how to enable it but no answers as to how.
We have Piwik hosted on IIS 8.5, installed by the Microsoft Web Platform Installer with PHP 5.6.0. The few mail settings in php.ini have not been modified, but really they shouldn't make a difference anyway as we are specifying the account information in Piwik.
The issue here has to be with either our host or Piwik as we have validated the SMTP details work fine.
Can anyone offer any thoughts as to how we can get this working?
Thank you
EDIT: It appears as though the mail function is actually enabled already (see attached image).