Brian - Tuesday, April 28, 2009 9:53 PM:
Hi All,
I have read the other posts on email notification but can't find the answer I need.
Is there another component that needs to be installed with Innovator to allow the "Notification" emails to work from Workflows etc? Is there a "service" that gets installed or is it all just about the configuration of the InnovatorServerConfig.xml and the IIS Mail queue?
We think that we have this set up OK but the notifications from Workflows do not arrive in the external email.
Curiously the email from the "sendEmailToA2Assignee" does work it just seems to require a lot more effort and knowledge to send email notifications in this manner.
Attempting to send an email directly using:
CCO.Email.SendEmailToIdentityEx("ToidAsString",
"Subject","Body","fromUserNameIdAsString")
Doesn't work either. In this instance I have hard coded a user ID as the from/to IDs just to be sure exactly what I am getting and nothing comes into the external email. But I also get no error back.
Thanks,
Brian.
RobMcAveney - Wednesday, April 29, 2009 8:49 AM:
What kind of emails are you trying to send? The standard emails that are sent with the change processes (PR, ECR, etc.) should not require any additional services to work. It's only reminder emails and escalation emails (the ones that happen on specific dates, not due to user action) that require the Innovator Service. Everything else should work just by setting up the mail server, the InnovatorServerConfig.xml settings and having emails defined for each User item.
From method code, the following should work assuming you have an email assigned for the admin user:
CCO.Email.SendEmailToIdentityEx("Innovator Admin","Subject","","Body","admin")
Note that CCO.EMail is an older construct that will at some point be deprecated. The preferred mechanism is the IOM Item.email method.
Rob
Brian - Wednesday, April 29, 2009 6:12 PM:
Hi Rob,
I was looking to send just the bog standard notification emails.
At the same time that I was asking this question my IT Manager was resetting the InnovatorServerConfig.xml to include the "queue" setting and ensuring that the IIS Server was also correctly configured.
It seems to have taken a while for the two to get into sync but I am now able to send notification emails from the workflows and have them recieved in the external email.
Thanks for clarifying the need for the Innovator Service component.
I also tried the code snippet again and today it worked.
Cheers,
Brian.
Brian - Thursday, April 30, 2009 8:22 PM:
Here's a tip for new players.
Workflow Notification Emails don't work unless you have an email address specified for the user who is originating the workflow notification. In the default instance this is the Innovator Admin user.
So the "From User" needs to have an email account specified.
Brian.
