Question

Event Action E-mail not longer working after changing MAIL_SENDER

  • 15 April 2021
  • 6 replies
  • 563 views

Userlevel 1
Badge +4

We changed our MAIL_SENDER parameters to Office365 parameters. When I do a RMB and use Print Order en select Send E_MAIL to… this MAIL_SENDER is working. 

When I do a RMB and use E-MAIL order no E-MAIL is sent. I can see in the Firewall that nothing is even leaving the IFSAS server. Does anyone knows where to fix this problem?

 

Thank you in advance!


This topic has been closed for comments

6 replies

Userlevel 6
Badge +18

Please check the Application Messages screen and identify the email messages you are trying to send. You should find more information to troubleshootif the messages are failing. 

Userlevel 6
Badge +13

@brammarissink ,

As Srikanth mentioned, have you noted any specific error messages in Application messages? Getting that kind of error message will help to isolate the error.

 

You will note below the sort of errors on failed messages.

Eg:.

…………

Error while sending data...

Caused by: javax.mail.SendFailedException: Invalid Addresses

Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain

……...

For an  above sort of error, you may need to check it from the Mail Server end.

The 550-error code usually means that the mail server you connected with does not want to relay your message.  SPAM filters are often configured to do this.

To resolve the issue, we need to ask the Exchange administrator to check this from the Exchange server end and add necessary exceptions to that email account. 

(To configure the SMTP-Gateway to allow the relay of mail messages from IFS Extended Server to wanted mail addresses)

 

Userlevel 1
Badge +4

Please check the Application Messages screen and identify the email messages you are trying to send. You should find more information to troubleshootif the messages are failing. 

Hi Srikanth,

There is no error in the appliaction Messages screen. This is because the RMB Function Email order is using an event action. 

 

Best regards,

Bram

Userlevel 1
Badge +4

@brammarissink ,

As Srikanth mentioned, have you noted any specific error messages in Application messages? Getting that kind of error message will help to isolate the error.

 

You will note below the sort of errors on failed messages.

Eg:.

…………

Error while sending data...

Caused by: javax.mail.SendFailedException: Invalid Addresses

Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain

……...

For an  above sort of error, you may need to check it from the Mail Server end.

The 550-error code usually means that the mail server you connected with does not want to relay your message.  SPAM filters are often configured to do this.

To resolve the issue, we need to ask the Exchange administrator to check this from the Exchange server end and add necessary exceptions to that email account. 

(To configure the SMTP-Gateway to allow the relay of mail messages from IFS Extended Server to wanted mail addresses)

 

I see the following errors in Debug COnsole: 

__anonymous_block at line 11 PURCHASE_ORDER_API.EMAIL__ at line 15397 PURCHASE_ORDER_API.EMAIL__.CORE at line 15354 BATCH_SYS.GET_NEXT_EXEC_TIME__ at line 1674 BATCH_SYS.GET_NEXT_EXEC_TIME___ at line 2560 BATCH_SYS.CHECK_BATCH_SCHED_CUST_EXPR__ at line 1661 ERROR_SYS.APPL_GENERAL at line 78 ERROR_SYS.RAISE_APPLICATION_ERROR___ at line 1006 ERROR_SYS.RAISE_APPLICATION_ERROR___.FORMAT_CALL_STACK___ at line 1000
__anonymous_block at line 11 PURCHASE_ORDER_API.EMAIL__ at line 15397 PURCHASE_ORDER_API.EMAIL__.CORE at line 15357 BATCH_SYS.NEW_BATCH_SCHEDULE at line 342 BATCH_SYS.UPDATE_EXEC_TIME__ at line 1839 BATCH_SYS.GET_NEXT_EXEC_TIME__ at line 1674 BATCH_SYS.GET_NEXT_EXEC_TIME___ at line 2560 BATCH_SYS.CHECK_BATCH_SCHED_CUST_EXPR__ at line 1661 ERROR_SYS.APPL_GENERAL at line 78 ERROR_SYS.RAISE_APPLICATION_ERROR___ at line 1006 ERROR_SYS.RAISE_APPLICATION_ERROR___.FORMAT_CALL_STACK___ at line 1000
 

Userlevel 6
Badge +9

@brammarissink 

 

Could you provide more details/screenshots of the event action you are using?

Userlevel 1
Badge +4

@brammarissink

 

Could you provide more details/screenshots of the event action you are using?