
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
one.leftshift.protoscript:protoscript-smtp
Advanced tools
ProtoScript is an open source software library for script based handling of various protocols.
val sessionConfig = { config: SmtpConfig ->
config.host(host)
config.port(587)
config.username(username)
config.password(XXXXX)
}
val spec = smtp(sessionConfig) {
header(username, "A subject") {
to("xxxx@leftshift.one")
}
content {
headline("Example smtp")
text("this is an example smtp string")
}
attachment {
pdf("".toByteArray(), "test")
}
}
val executorService = ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, LinkedBlockingQueue())
SmtpScript.send(spec, executorService).get()
At this moment only the OAuth flow "password" is implemented.
val sessionConfig = { config: SmtpConfig ->
config.host(host)
config.port(587)
config.authenticator {
clientId(clientId)
clientSecret(clientSecret)
username(username)
password(password)
scope(scopes)
grantType(grantType)
url(url)
}
}
val spec = smtp(sessionConfig) {
header(username, "Patricio Trabajador Bearer") {
to("xxxxxx@leftshift.one")
}
content {
headline("Example smtp")
text("this is an example smtp string")
}
attachment {
pdf("".toByteArray(), "test")
}
}
val executorService = ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, LinkedBlockingQueue())
SmtpScript.send(spec, executorService).get()
Releases are triggered locally. Just a tag will be pushed and CI pipelines take care of the rest.
Run ./gradlew final -x sendReleaseEmail -Prelease.scope=major
locally.
Run ./gradlew final -x sendReleaseEmail -Prelease.scope=minor
locally.
Run ./gradlew final -x sendReleaseEmail -Prelease.scope=patch
locally.
FAQs
Unknown package
We found that one.leftshift.protoscript:protoscript-smtp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.