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"');
}

]

1 Attachment

pllogistique
 
thecreationlab replied on at Permalink Reply
I’m having this error too since upgrade to server to php5.6

Did you find a solution?

Matt
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Looking at the original posters attachment I would say this line is wrong
concrete.email.default.address    concrete5-noreply@www.serviceslinguistiquesmpp.com

An email address should not contain www, that is a web address!