Error creating Pipe Forwarder

ASLAN

New member
Joined
Jul 27, 2018
Messages
1
I'm using this code

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
 
Back
Top