Skip to main content

SmtpServer

A server for sending emails using the SMTP protocol.

type SmtpServer implements Server {
authentication: String
createdAt: DateTime!
encryption: EncryptionType
errors: [SmtpError!]!
host: String!
id: ID!
port: Int!
protocol: ProtocolType!
updatedAt: DateTime!
username: String!
verified: Boolean!
}

Fields

SmtpServer.authentication ● String scalar common

The authentication method (e.g., LOGIN, PLAIN).

SmtpServer.createdAt ● DateTime! non-null scalar common

The date and time that the object was created.

SmtpServer.encryption ● EncryptionType enum common

The type of encryption used (e.g., SSL, TLS, None).

SmtpServer.errors ● [SmtpError!]! non-null object common

The errors that occurred during the last attempts to send an email.

SmtpServer.host ● String! non-null scalar common

The server hostname or IP address.

SmtpServer.id ● ID! non-null scalar common

SmtpServer.port ● Int! non-null scalar common

The port number the server listens on.

SmtpServer.protocol ● ProtocolType! non-null enum common

The protocol used by the server (e.g., SMTP, IMAP, POP3).

SmtpServer.updatedAt ● DateTime! non-null scalar common

The date and time that the object was last updated.

SmtpServer.username ● String! non-null scalar common

The username for authenticating with the SMTP server.

SmtpServer.verified ● Boolean! non-null scalar common

Has the connection been verified.

Interfaces

Server interface common

The interface for different server types.

Implemented by

OutgoingServerTypeUnion union