Skip to content

Commit

Permalink
Fix: TE-11472 Sending Email from Addon is not working (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasyap-gundu authored Aug 8, 2023
1 parent 4084b77 commit 36cb18a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repositories {
}

group = 'com.testsigma'
version = '1.2.1_cloud'
version = '1.2.2_cloud'
description = 'Testsigma Java SDK'
java.sourceCompatibility = JavaVersion.VERSION_11

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RELEASE_SIGNING_ENABLED=true

GROUP=com.testsigma
POM_ARTIFACT_ID=testsigma-java-sdk
VERSION_NAME=1.2.1_cloud
VERSION_NAME=1.2.2_cloud

POM_NAME=Testsigma Java SDK
POM_DESCRIPTION=Testsigma Java SDK
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/testsigma/sdk/Email.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.testsigma.sdk;

import org.apache.http.entity.ContentType;

import java.io.File;
import java.util.List;

Expand All @@ -11,5 +13,7 @@ public interface Email {
void setBody(String body);
void setAttachments(List<File> attachments);

void setContentType(ContentType contentType);

Boolean send();
}

0 comments on commit 36cb18a

Please sign in to comment.