can not send a notification to a email

Description

i use 1.2.9-1,
i set a destination path is a email address,and command is javaEmail ,
but can not send a email , i set javaemail proper is correct!!!

i find may be this is error:
makeEmailTask:
user.setUserId(address); // this is a email address
but in NotificationTask.run :
if (m_user.getUserId().equals("email-address")) {
cntct = m_user.getContact()[0].getInfo();
} else {
cntct =
m_notifd.getUserManager().getContactInfo(m_user.getUserId(),
m_commands[i].getName());
}

Environment

Operating System: Linux Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

ufwt April 12, 2007 at 8:33 PM

i think i have not java mail problems ,because i use send a mail to admin and i
set admin's email , i can receive a email!

BTW:
bugzilla's state WORKSFORME meaning?

Tarus Balog April 12, 2007 at 10:23 AM

You probably have some other problem with the receiving side of the e-mail. 99% of java mail problems
arise when the remote mail server won't accept mail from the OpenNMS server.

I can guarantee there is no bug in the 1.2.9 code concerning javaMail notifications.

Cannot Reproduce

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created April 12, 2007 at 2:02 AM
Updated January 27, 2017 at 4:30 PM
Resolved April 12, 2007 at 8:33 PM