cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Email not getting send

former_member788071
Discoverer
0 Likes
1,082

Business process is OK for all nodes and email message model is getting deleted by removeSentEmail action class and even calling email.send() , seems all is well as per coding . but even calling email.send(); mail is not coming in mail box and no error , smtp sever is well working .

when we check the BP , it is success full but no mail in mail box , when we do repair of BP from backoffice mail is then coming in mail box .

could any one suggest what is the issue here ?

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member788071
Discoverer
0 Likes

Hi Michael Wolm , Thank you for quick response on this . below is the *process.xml , all steps are getting executed correctly with no error on BP and in console .even from OOTB class DefaultEmailService

final HtmlEmail email = getPerConfiguredEmail();

final String messageID = email.send();---///This is getting executed correctly with no error on at all.

message.setSent(true);

message.setSentMessageID(messageID);

message.setSentDate(new Date());

getModelService().save(message);

In local this is working as expected and getting mail . But in QA environment BP getting executed successfully with no error and EmailMessageModel even getting deleted after successful email sending by OOTB RemoveSentEmailAction class but in mail box no email is coming.

when the same BP is repaired from backoffice it is sending mail in getting in mail box .

But I am not sure why before repair if BP (all is success on BP ) mail not getting in mail box even no error in console .

Any suggestions on this will be helpful here .

mwoelm
Participant
0 Likes

I have also experienced that the BPs that send emails often show a success message, even though there has been no communication with the SMTP server. The BP just keeps running.

If the mail goes out during the repair, I would check whether the correct SMTP settings are maintained on all nodes in the cluster and/or whether nodes are processing the BP that may not have been deliberately configured or activated for this. (Network restrcitions / firewalls etc.)