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!
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