Hi there,
I'm currently trying to develop a module for the WordPress admin panel that allows for management of the complete e-mail section of DA. The module is nearly complete, but I found out last week that simply adding another e-mail address to an existing forwarder does not work: a comma separated list of e-mail addresses is required.
I've implemented my solution client side, but when I try to send the forwarder to DA with the following parameters:
I get the following response:
Adding a single e-mail address to the forwarder is working, but multiple e-mail addresses isn't. I haven't got a clue what the problem is.
Setup used:
PHP 5.3.18
DirectAdmin latest version
CentOS 5
Arian's DirectAdmin PHP wrapper
Thanks for reading this post, I would really appreciate any help!
EDIT:
solved the problem myself: I tried to delete the forwarder first, and then insert it again. Because the user variable is without the domain(@example.com), it shows as successful, but it isn't. Because the delete isn't successful, the insert also fails.
I'm currently trying to develop a module for the WordPress admin panel that allows for management of the complete e-mail section of DA. The module is nearly complete, but I found out last week that simply adding another e-mail address to an existing forwarder does not work: a comma separated list of e-mail addresses is required.
I've implemented my solution client side, but when I try to send the forwarder to DA with the following parameters:
Code:
URL: CMD_API_EMAIL_FORWARDERS
user: [email protected]
email: [email protected],[email protected],[email protected],[email protected]
domain: verenigingensoftware.com
I get the following response:
Code:
"Error creating forwarder"
"Invalid Email Name"
"Do_not_use_any_spaces_between_the_email_names_"
Adding a single e-mail address to the forwarder is working, but multiple e-mail addresses isn't. I haven't got a clue what the problem is.
Setup used:
PHP 5.3.18
DirectAdmin latest version
CentOS 5
Arian's DirectAdmin PHP wrapper
Thanks for reading this post, I would really appreciate any help!
EDIT:
solved the problem myself: I tried to delete the forwarder first, and then insert it again. Because the user variable is without the domain(@example.com), it shows as successful, but it isn't. Because the delete isn't successful, the insert also fails.
Last edited: