philrorrer
New Member
Hello all can i use campayn api for delivery server
This is because it's not working like this. You don't create a delivery server for a campaign. You create a delivery server and it can be used for many things. You then can go to Backend > Settings > Customers > Servers and set "Can select delivery servers for campaigns" to Yes.yes it isnt in the list when you click on create server so not sure what option you use
$response = $endpoint->create(array(
'name' => 'My API Campaign', // required
'type' => 'regular', // optional: regular or autoresponder
...
'delivery_server' => '64', // 64 is the id of the server
...
));
// DISPLAY RESPONSE
print_r($response->body);
SmtP does not have an apI key, it has a hostname / username / password and port.ok when going to set up delivery server via smtp option there is no place for api key
It's a SMTP error, which btw, is described in the kb: https://kb.mailwizz.com/articles/fa...username-xyz-using-2-possible-authenticators/Failed to authenticate on SMTP server with username "AKIAWDGB2SGH4TPUA6HH" using 2 possible authenticators