- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- MailProxy-Auftragstypen
MailProxy Create
Funktion
Der Auftragstyp MailProxyCreate legt einen neuen MailProxy-Eintrag an.
Beschreibung
Route: POST /mailProxy
{
"domain": "example.com",
"target": "example2.com",
"admin": "customer@example.com",
"protection": "CUSTOM",
"greylisting": "ENABLED",
"virus": "ACCEPT",
"bannedFiles": "ACCEPT",
"spam": {
"modifySubject": true,
"tagHeader": "-999",
"spam": "6.5",
"kill": "999"
},
"whitelist": {
"emails": [
"person1@good-example.com",
"someone-else@company123.net"
]
},
"blacklist": {
"emails": [
"bad-person@example.de",
"someone-bad@company987.net"
]
},
"excludelist": {
"emails": [
"admin@somethingsomething73456.net",
"hostmaster@somethingsomething73456.net"
]
}
}{
"stid": "20190919-stid",
"status": {
"code": "S0511",
"text": "MailProxy wurde erfolgreich eingetragen.",
"type": "SUCCESS"
},
"object": {
"type": "MailProxy",
"value": "somethingsomething73456.net"
}
}
Auftragstyp-Code: 0511
Verwendet Objekte MailProxy
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>104</context>
</auth>
<owner>
<user>subuser</user>
<context>104</context>
</owner>
<task>
<code>0511</code>
<mail_proxy>
<domain>example1695.com</domain>
</mail_proxy>
<reply_to>customer@example.com</reply_to>
<ctid>customer-transaction-id</ctid>
</task>
</request><response>
<result>
<data/>
<status>
<code>S0511</code>
<text>MailProxy wurde erfolgreich eingetragen.</text>
<type>success</type>
<object>
<type>mailproxy</type>
<value>example1695.com</value>
</object>
</status>
</result>
<stid>20150427-stid</stid>
</response>