Problem with Query addpop: Invlid email address error

StianSomoen

Registered
May 12, 2015
2
0
1
Norway
cPanel Access Level
Website Owner
Hi.

We have the same problem with API 2 and AddPop using WHM JSON
Code:
/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&domain="example.com"&email="user"&password="12345luggage"&quota="500"
We get the same result: Sorry, the given email address is invalid.

Somebody have a idea of what is wrong?

BR Stian
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
We get the same result: Sorry, the given email address is invalid.
Hello,

Are you entering the full email address, or just the part before the "@domain.com" suffix? Ensure you only enter the email username itself, rather than the full email address.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
It's important to only use the email account username and to not include the "@domain.com" suffix for the email parameter. Also, ensure you are not using quotations around the parameters, and that you are entering the URL from cPanel (since you are using cPanel API 2).

Thank you.