August 29, 20232 yr Is it possible to create a new email from external by calling a certain API call or such ? We need to create emails from within another php-service on the same machine
August 29, 20232 yr Author there it states: Zitat EmailDomains.add You cannot directly add email-domains is it easy to learn how the api calls work? (Example) Maybe We can develop the missing function. Or is someone working on this already (maybe on https://github.com/Froxlor/Froxlor/ )
August 29, 20232 yr Author I guess we would have to program the public function add(): https://github.com/Froxlor/Froxlor/blob/a7198f58ce9787c7b67210d6d2eec8f95ceea775/lib/Froxlor/Api/Commands/EmailDomains.php#L150
August 29, 20232 yr it's literally in the comment...you just cannot add emaildomains directly, you just need to use the "Domains.add" api call to create a domain which has email usage enabled
August 29, 20232 yr Froxlor itself basically always uses its API internally...so everything you can do within the webui, you can most likely also do with the API externally
August 29, 20232 yr Author OK, so If I already created the domain for the email, lets say "example.com" , to add "jon.dow@example.com" I guess I need EmailAccounts.add
August 29, 20232 yr 29 minutes ago, d00p said: https://docs.froxlor.org/latest/api-guide/commands/emails.html my initial answer, remember that adding an address does not automatically make it an account, to make it an account you'd also have to invoke https://docs.froxlor.org/latest/api-guide/commands/emailaccounts.html for the newly created address
Create an account or sign in to comment