redwood CPS version: Build: M28.17-35130
HP-UX
i need to use job "System_Mail_Send" to send email.
i have the smtp server, sender, and sender password.
i can send email to recipients in the mail server.
but fail to send to external recipient.
see the exception quoted in bold.
it seems the mail session need a password. but in the job defintion, there in not way to set it.
i try to set the sender password in the "Credentials",like below:
1: create smtp credential protocol.
2: create a smtp credential with mail server as endpoitn and mail sender as realuser
but it still failed.
how to do it?
"
*-- JOB RUN STACK TRACE --*
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
* com.sun.mail.smtp.SMTPAddressFailedException: 553 host denies relay (eyou mta)*
* at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)*
* at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)*
* at javax.mail.Transport.send0(Transport.java:169)*
* at javax.mail.Transport.send(Transport.java:98)*
* at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:145)*
* at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:63)*
* at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:38)*
* at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:191)*
* at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:151)*
* at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:233)*
* at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:59)*
* at java.lang.Thread.run(Thread.java:725)*
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 host denies relay (eyou mta)
* at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)*
* ... 11 more*
"