arturo.poveda
Member
I'm hosted in a shared hosting; for security measures my service provider disabled access to PHP's insecure functions; keeping in mind that the server works in a secure environment.
When I had XenForo 1.5 installed, the Email service worked correctly through sendmail (Using the zend-mail library that uses the mail () function). When I upgrade to XenForo 2.1 I find that it uses the library "swiftmailer" and for some reason the emails were not sent.
Reviewing the codes a bit, I find the following shipping methods: (File /src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php)
As you can see, the proc_open and stream_socket_client functions are used; which are marked as insecure by my hosting provider.
As I have noticed XenForo 2.1 keeps the directory / src / vendor / zendframework / zend-mail; Is there any way to tell XenForo to send emails using the zend-mail library and not swiftmailer?
In case of achieving change the library; Would it be necessary to update the configuration in the plugins?
When I had XenForo 1.5 installed, the Email service worked correctly through sendmail (Using the zend-mail library that uses the mail () function). When I upgrade to XenForo 2.1 I find that it uses the library "swiftmailer" and for some reason the emails were not sent.
Reviewing the codes a bit, I find the following shipping methods: (File /src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php)
As you can see, the proc_open and stream_socket_client functions are used; which are marked as insecure by my hosting provider.
As I have noticed XenForo 2.1 keeps the directory / src / vendor / zendframework / zend-mail; Is there any way to tell XenForo to send emails using the zend-mail library and not swiftmailer?
In case of achieving change the library; Would it be necessary to update the configuration in the plugins?