Skip to content

Commit

Permalink
Merge pull request #15 from ShubhamChouksey123/feature-add
Browse files Browse the repository at this point in the history
Feature add
  • Loading branch information
ShubhamChouksey123 authored Aug 4, 2024
2 parents 2179c0d + 31c3fd1 commit 633e22d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,14 @@ public void sendContactQueryEmails(String contactName, String contactEmail, Stri

private String createEmailSubject(HRInfo hrInfo) {

if (!generalUtility.isNullOrEmpty(hrInfo.getTimes()) && hrInfo.getTimes() > 20) {
if (!generalUtility.isNullOrEmpty(hrInfo.getTimes()) && hrInfo.getTimes() > 5 && hrInfo.getTimes() % 5 == 0) {
return "In case you missed it";
}

if (!generalUtility.isNullOrEmpty(hrInfo.getTimes()) && hrInfo.getTimes() > 5 && hrInfo.getTimes() % 4 == 0) {
return "Job inquiry — Shubham Chouksey, 3+ years of experience, Sr. Software Engineer";
}

if (!generalUtility.isNullOrEmpty(hrInfo.getEmailSubject())) {
return hrInfo.getEmailSubject();
}
Expand Down

0 comments on commit 633e22d

Please sign in to comment.