Programmatically sending emails using IMailerService
I've been trying to send emails programmatically using IMailerService but its not working for some reason. The email notification is enabled and the jazz server is sending emails. I verified that by sending out team invitations, so the smtp server appears to be in order.
However, when I try to send an email programmatically through a simple snippet of code, it does not work. I tried writing the exception (if any) to a file, but turns out ... it never throws an exception either, since I cant find the file on the server. Here's the code:
Thanks! |
One answer
I've been trying to send emails programmatically using IMailerService but its not working for some reason. The email notification is enabled and the jazz server is sending emails. I verified that by sending out team invitations, so the smtp server appears to be in order. You have to turn email on in your local workspace. A co-worker sent me these instructions below:
Good luck! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.