[KULRICE-11299] Error when submitting incident report form Created: 26/Nov/13 Updated: 24/Apr/15 Resolved: 19/Feb/14
|Project:||Kuali Rice Development|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Prem Kumar Balu (Inactive)||Assignee:||Kuali Admin|
|Remaining Estimate:||1 hour|
|Time Spent:||5 hours|
|Original Estimate:||6 hours|
|Sprint:||2.4.0-m4 Dev Sprint 4 (Real)|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Code Review Status:||Not Required|
|Include in Release Notes?:||
We are facing issue while clicking Submit Report button from incident report screen. While clicking this button, it has to send a mail to the mailing list. But now it is taking toAddress and fromAddress from configuration file.
But while sending mail we are getting following exception
java.lang.RuntimeException: org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 554 Message rejected: Email address is not verified
|Comment by Corey Pedersen (Inactive) [ 19/Feb/14 ]|
The error described is that the external mailer is configured not to accept mail with the from address specified. Many mail systems are configured not to except mail presenting foreign domains in from addresses.
The from address for the incident report is set in the configuration (ex: <param name="kr.incident.mailing.list">email@example.com</param> ) else it will use the logged in user's email from krim_entity_email_t.
|Comment by Prem Kumar Balu [ 28/Feb/14 ]|
If i want to use the foreign domain address something like firstname.lastname@example.org to send email, how it can be addressed?
|Comment by Sheik Salahudeen [ 28/Feb/14 ]|
We have given the fromAddress is email@example.com and toAddress is firstname.lastname@example.org. By using this, the application is able to send the mail once push the submit report button.