Dear community,
generally we can send emails from IFS. For example if we create a subscription, send a document via email etc.
But it doesn’t send emails for events.
Can anyone help?
Best answer by Marcel.Ausan
View originalDear community,
generally we can send emails from IFS. For example if we create a subscription, send a document via email etc.
But it doesn’t send emails for events.
Can anyone help?
Best answer by Marcel.Ausan
View original
Also, would be useful to leave a printscreen of your event action.
Can you try the PLSQL block below? This is the procedure that is working under the email events. If it is not working you should check Connector Senders.
BEGIN
ifsapp.command_sys.mail(from_user_name_ => 'IFSAPP',
to_user_name_ => 'yyyy@xxx.com.tr',
text_ => 'Test!'
);
END;
Also, would be useful to leave a printscreen of your event action.
Hi
I’ve just created a simple event for testing and also the mail sender looks good.
But IFS doesn’t create an application message.
Can you try the PLSQL block below? This is the procedure that is working under the email events. If it is not working you should check Connector Senders.
BEGIN
ifsapp.command_sys.mail(from_user_name_ => 'IFSAPP',
to_user_name_ => 'yyyy@xxx.com.tr',
text_ => 'Test!'
);
END;
Hi
thank you for the sql code. It doesn’ work.
This means somethink is worng with my connector sender, right?
The flow is:
→ event action of type Mail triggered
→ Application Message created and queued
→ Application Message will invoke the Mail Sender to finally push the email to the SMTP server.
If there is an issue with the Mail Sender, you should see the error message in the application message.
The fact that there’s no application message makes me think there could be 2 options
The flow is:
→ event action of type Mail triggered
→ Application Message created and queued
→ Application Message will invoke the Mail Sender to finally push the email to the SMTP server.
If there is an issue with the Mail Sender, you should see the error message in the application message.
The fact that there’s no application message makes me think there could be 2 options
Hi
yes, that is true. The event action never gets triggered cause of wrong conditions.
Thank you a lot. 😀
I'm glad you found the solution. :) But, I wonder why the code didn’t work. Did you Commit the transaction after executing the code?
I'm glad you found the solution. :) But, I wonder why the code didn’t work. Did you Commit the transaction after executing the code?
Hi
yes, I totally forgot it. It is a good question. 😊
I don’t know.
Maybe I should test it again. 😁
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.