I'm using this code
and I got this error
PHP:
$eDom = "mydomain.com";
$email = "[email protected]";
$forward = "'|/home/aslan/domains/mydomain.com/private_html/pipe.php'";
// CREAR FORWARD
$da->set_method('get');
$da->query('/CMD_API_EMAIL_FORWARDERS',
array(
'action' => 'create',
'domain' => $eDom,
'user' => $email,
'email' => $forward
)
);
$da = $da->fetch_body();
and I got this error
Code:
String contains an invalid email address: |/home/aslan/domains/mydomain.com/private_html/pipe.php