![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
com.revinate:sendgrid-smtpapi-java
Advanced tools
This module lets you build SendGrid's SMTP API headers with simplicity.
Java 1.6 and later.
Add this dependency to your project's POM:
<dependency>
<groupId>com.revinate</groupId>
<artifactId>sendgrid-smtpapi-java</artifactId>
<version>2.0.0</version>
</dependency>
Add this dependency to your project's build script:
compile 'com.revinate:sendgrid-smtpapi-java:2.0.0'
import com.revinate.sendgrid.smtpapi.*;
SmtpApi header = new SmtpApiImpl();
String headerValue = header.toSmtpApiHeader();
If you need the unescaped JSON string:
String rawHeaderValue = header.toRawSmtpApiHeader();
header.addSmtpApiTo("email@email.com");
// or
header.addSmtpApiTo("email@email.com", "Email User");
List<String> tos = header.getSmtpApiTos();
header.addValueToSubstitution("key", "value");
List<String> substitution = header.getSubstitution("key");
header.setUniqueArg("key", "value");
String arg = header.getUniqueArg("key");
header.addCategory("category");
List<String> categories = header.getCategories();
header.setSection("key", "section");
String section = header.getSection("key");
header.setSettingInFilter("filter", "setting", "value");
header.setSettingInFilter("filter", "setting", 1);
Map<String, Object> filter = header.getFilter("filter");
header.setAsmGroupId(1);
Integer groupId = header.getAsmGroupId();
header.setSendAt(1416427645);
Integer sendAt = header.getSendAt();
header.setIpPool("transactional");
String ipPool = header.getIpPool();
Licensed under the MIT License.
FAQs
SendGrid SMTP API Java Bindings
We found that com.revinate:sendgrid-smtpapi-java 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.