Sending notifications to external email addresses with SDK

Hi,
I have a procedure which automatically creates a Change Request every time a user compiles a module on our website. When this Change Request is completed I want to notify that external user (who gave us his email address in the form), is it possible to use the sendNotification(agileObject, template, notifyList, urgent, comment) command to do that? Or how can I do it?
Thank you very much!

Add Comment
2 Answer(s)
Best answer

Hi Roberto,

It is not possible to send Agile notification to an email address not linked to any user.
It is necessary to use custom email sender (using default Transport of java for example) and define a template custom.
A bad Approach but it can works, is to create a fake users placeholder, which PX uses to send notification to him. Before send the email, you can update (in the same PX) the email of this placeholder user with the one coming from the Form. I suggest to use a custom email sendere and not this fake method

Agile Angel Answered on March 7, 2016.
Add Comment

Thank you Antonio, I will try using a custom email sender.

Agile User Answered on March 7, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.