Failed to send asynchronous mail received when sending an email from ALM
Question ID: 108792
0
0

We have a project in HP ALM which has one set of users with the email address @test.com and another set of users with the email address @testing.com. When I email a defect from HP ALM to @test.com, the email is being sent and received successfully. When I email a defect from HP ALM to @testing.com, the email is failing to be sent.

The error in the log is listed below.
Subject: Failed to deliver message: Default.Test_Project – Defect #12 – TEST_DEFECT

Failed to send mail to invalid email addresses: ‘[JOHN Q TEST ]’
We did as you said and below is the log. It is saying invalid email address but if I send an email from outlook, it is delivered successfully.

Stack Trace:
com.hp.alm.platform.mail.exception.InvalidAddressException: Failed to send mail to invalid email addresses: ‘[JOHN Q TEST < john.test@testing.com>]’
at com.hp.alm.platform.mail.JavaMailHelper.resendToValidMails(JavaMailHelper.java:425)
at com.hp.alm.platform.mail.JavaMailHelper.sendMail(JavaMailHelper.java:324)
at com.hp.alm.platform.mail.JavaMailHelper.sendMail(JavaMailHelper.java:121)
at com.hp.alm.platform.mail.SendAsyncMailTask.run(SendAsyncMailTask.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Jan 09
11:00:45.573Jan 09
11:00:45.382asyncMailTaskExecutor-5N/AN/AN/AERRAsyncMailEventListener.mailFailed(65)Failed to send asynchronous mail

com.hp.alm.platform.mail.exception.InvalidAddressException

Messages:
Failed to send mail to invalid email addresses: ‘[JOHN Q TEST < john.test@testing.com>]’;

Marked as spam
Posted by (Questions: 239, Answers: 31)
Asked on January 11, 2019 8:35 pm
324 views
Answers (2)
0
Private answer

Have you confirmed the account running the ALM service can send emails to @testing.com?
Could it be a cross-domain issue? Can you confirm @testing.com emails can be resolved / received at the mail server your configured to use?

Marked as spam
Posted by (Questions: 0, Answers: 8)
Answered on January 13, 2019 10:30 pm
0
Private answer

Hello. I have seen this issue before, and it was resolved by doing the following in ALM. I would like for you to add the parameter ASYNC_MAIL_ENABLED into the 'Site Configuration' tab within Site admin, and set its value to 'Y'. Setting the value to 'Y' is supposed to send the mail asynchronously, whereas setting the value to 'N' sends the mail synchronously. After entering the parameter, please retest to see if the same email fails.

Marked as spam
Posted by (Questions: 2, Answers: 300)
Answered on January 14, 2019 9:35 pm
0
It worked when we set it to 'Y'. Thanks for your quick solution.
( at January 14, 2019 9:35 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top