...
- Invalid domain of sender address ("example.com"). If you want to send email for this domain, please contact your admin. => Die angegebene Absenderdomain darf unter dem Mandanten nicht verwendet werden.
- No templateId AND no newsletterContent given! => Es ist kein Inhalt für de Transaktionsmail angegeben worden.
- Template with ID N does not exist! => Das Tempalte mit der ID existiert nicht.
- Both (mailContent AND alternativeMailContent is HTML.) => Es ist sowohl im Inhalt, als auch im Alternativtext HTML angegeben worden.
- Both (mailContent AND alternativeMailContent is TEXT.) => Es ist sowohl im Inhalt, als auch im Alternativtext TEXT angegeben worden.
- Both templateId AND newsletterContent given, don't know, what to send. => Der Inhalt sowohl über Text/HTML als auch über eine Tempalte-ID angegeben worden.
- Channel with ID Ihre ID does not exist. => Der angegebene Channel für Transaktionsmails existiert nicht.
- Address was unsubscribed, anti spam option is enabled. => Wenn der Empfänger auf einer Liste gespeichert werden soll, hat als letztes eine Abmeldung stattgefunden. Der Abonnent wird nicht gespeichert.
- Address is at robinson list. => Wenn der Empfänger auf einer Liste gespeichert werden soll, befindet sich dieser auf der Robinsonliste.
- Error creating subscriber. => Es ist ein Fehler beim Anlegen des Abonnenten aufgetreten.
- Sending denied: Recipient address is on one of the black lists. => Versand der Transaktionsmail wird verweigert, da die Adresse auf einer der Blacklisten ist.
Error compiling newsletter template Ihre ID => Beim Erzeugen des Inhalts aus dem Tempalte ist ein Fehler aufgetreten.
- Field "fieldName" does not exist in Backclick. => Es ist ein Personalisierungsfeld angegeben, welches nicht in Backclick existiert.
- Error creating transction mail. If this error remains, please contact Backclick support. => Bitte wenden Sie sich an den Support, es ist ein Fehler aufgetreten, der bisher unbekannt ist.
- Got Attachment with no name. => Es wurde kein Name für das Attachment angegeben
- Invalid attachment data for file name "Dateiname des Attachments". => Es sind keine Daten für das Attachment angegeben worden.
Beispiel
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
$client = new SoapClient($wsdlUrl); date_default_timezone_set('Europe/Berlin'); $transactionMail = new StdClass(); $transactionMail->mandatorId = 0; $transactionMail->channelId = 1; $transactionMail->senderName = 'Name des Absenders'; $transactionMail->senderEmail = 'sender@example.net'; $transactionMail->replyTo = 'reply@example.net'; $transactionMail->recipient = new StdClass(); $transactionMail->recipient->emailAddress = 'user@recipient.domain'; $transactionMail->recipient->recipientFields = array(); $recipientField = new StdClass(); $recipientField->fieldName = 'VORNAME'; $recipientField->fieldValue = utf8_encode('Max'); array_push($transactionMail->recipient->recipientFields, $recipientField); $recipientField = new StdClass(); $recipientField->fieldName = 'NACHNAME'; $recipientField->fieldValue = utf8_encode('Mustermann'); array_push($transactionMail->recipient->recipientFields, $recipientField); $transactionMail->subject = utf8_encode('Transaktionsmail an $$VORNAME$$ $$NACHNAME$$'); $transactionMail->mailContent = utf8_encode('<html><body>Hallo $$VORNAME$$ $$NACHNAME$$</body></html>'); try { $result = $client->sendTransactionMail($transactionMail); var_dump($result); } catch (Exception $e) { echo "Fehler aufgetreten: " . $e->getMessage() . "\n"; } |
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
object(stdClass)#2 (1) { ["success"]=> bool(true) } |
...