Error when submit form with email send
Permalink
Hi,
I have an error when sending the form with the email option is checked in the form block.
OS : Centos7
Php : 5.6
I don't have this problème when the site is on Redhat 6.8, php 5.3.
You have all information for this error on attach file.
Thanks
[ Zend \ Mail \ Header \ Exception \ InvalidArgumentException
Header must match with the format "name:value"
/home/serviceslinguist/public_html/updates/concrete5.7.5.12_remote_updater/concrete/vendor/zendframework/zend-mail/src/Header/GenericHeader.php
* @return string[] `name` in the first index and `value` in the second.
* @throws Exception\InvalidArgumentException If header does not match with the format ``name:value``
*/
public static function splitHeaderLine($headerLine)
{
$parts = explode(':', $headerLine, 2);
if (count($parts) !== 2) {
throw new Exception\InvalidArgumentException('Header must match with the format "name:value"');
}
]
I have an error when sending the form with the email option is checked in the form block.
OS : Centos7
Php : 5.6
I don't have this problème when the site is on Redhat 6.8, php 5.3.
You have all information for this error on attach file.
Thanks
[ Zend \ Mail \ Header \ Exception \ InvalidArgumentException
Header must match with the format "name:value"
/home/serviceslinguist/public_html/updates/concrete5.7.5.12_remote_updater/concrete/vendor/zendframework/zend-mail/src/Header/GenericHeader.php
* @return string[] `name` in the first index and `value` in the second.
* @throws Exception\InvalidArgumentException If header does not match with the format ``name:value``
*/
public static function splitHeaderLine($headerLine)
{
$parts = explode(':', $headerLine, 2);
if (count($parts) !== 2) {
throw new Exception\InvalidArgumentException('Header must match with the format "name:value"');
}
]
Did you find a solution?
Matt