Mailbox
Retrieves Parallels RAS mailbox settings.
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/MailboxSettings HTTP/1.1
Host:
Accept: */*
{
"useTLS": [
"0 = No",
"1 = Yes",
"2 = YesIfAvailable",
"3 = YesTLS12IfAvailable"
],
"requireAuth": true,
"smtpServer": "text",
"senderAddress": "text",
"username": "text"
}
Modifies Parallels RAS mailbox settings.
Body
smtpServerstring | nullableOptional
SMTP server name. Example: "mail.yourcompany.com:500"
senderAddressstring | nullableOptional
Sender email address.
usernamestring | nullableOptional
SMTP server user name.
passwordstring | nullableOptional
SMTP server password.
requireAuthboolean | nullableOptional
Set whether SMTP server requires authentication.
useTLSstring · enumOptionalPossible values:
Use TLS / SSL (for Mailbox)
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/MailboxSettings HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 176
{
"smtpServer": "text",
"senderAddress": "text",
"username": "text",
"password": "text",
"requireAuth": true,
"useTLS": [
"0 = No",
"1 = Yes",
"2 = YesIfAvailable",
"3 = YesTLS12IfAvailable"
]
}
No content
Was this helpful?