mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1008 B
52 lines
1008 B
# ===============================================
|
|
# MAIL
|
|
# ===============================================
|
|
|
|
extend type Query {
|
|
mailConfig: MailConfig
|
|
}
|
|
|
|
extend type Mutation {
|
|
sendMailTest(
|
|
recipientEmail: String!
|
|
): DefaultResponse
|
|
|
|
updateMailConfig(
|
|
senderName: String!
|
|
senderEmail: String!
|
|
defaultBaseURL: String!
|
|
host: String!
|
|
port: Int!
|
|
name: String!
|
|
secure: Boolean!
|
|
verifySSL: Boolean!
|
|
user: String!
|
|
pass: String!
|
|
useDKIM: Boolean!
|
|
dkimDomainName: String!
|
|
dkimKeySelector: String!
|
|
dkimPrivateKey: String!
|
|
): DefaultResponse
|
|
}
|
|
|
|
# -----------------------------------------------
|
|
# TYPES
|
|
# -----------------------------------------------
|
|
|
|
type MailConfig {
|
|
senderName: String
|
|
senderEmail: String
|
|
defaultBaseURL: String
|
|
host: String
|
|
port: Int
|
|
name: String
|
|
secure: Boolean
|
|
verifySSL: Boolean
|
|
user: String
|
|
pass: String
|
|
useDKIM: Boolean
|
|
dkimDomainName: String
|
|
dkimKeySelector: String
|
|
dkimPrivateKey: String
|
|
}
|