sending email notifications with file attachments in IBM CLM
Dear All,
I'm using CLM 5.0.2 and i want to generate email notifications along with file attachments e.g. email notification for "Person A" with the attachment of daily report file.
I hope there must be a solution for this issue.
Waiting for the solution.
Regards,
Sajjad.
|
3 answers
I doubt this is possible. There are Email templates, but they do not allow attachments. RRDI (If available) can be used to run reports on a schedule and can send them out via e-mail.
Comments
Sajjad Ali Khan
commented Jul 10 '15, 9:48 a.m.
Thanks for replying me.
I think there must be some any technique through which i can attach file or the link of file or work item while sending email notification.
Please help me as i really need to either attach a file or attach the link of file when i send an email from the comments e.g. @UserID link of file/report/workitem which second user can view.
Thanks for replying me.
I think there must be some any technique through which i can attach file or the link of file or work item while sending email notification.
Please help me as i really need to either attach a file or attach the link of file when i send an email from the comments e.g. @UserID link of file/report/workitem which second user can view.
This is my opinion RTC is not a notification/email system, so it should not be expected to behave like one.
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 14 '15, 7:45 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In your question, it sounds like you want to automatically generate an email notification to a specific person, when you attach a file to a work item, and you want that email to contain that file attachment. Is that correct? In your comment above, you indicate that a link to that file would be sufficient (i.e. that it is OK for the email to contain a URL link to the attached file, rather than actually contain the file). Is that correct?
If so: - Add that specific person as a subscriber to the work item - Have that person indicate in their RTC profile that they want to receive email notifications - Every time you add an attachment to that work item, also add a comment containing the URL of the new attachment. - That person will automatically get email with a link to the attachment. |
RTC provides below API in IMailerService to send mulitpart email messages -
public void sendMultipartMail(MailSender sender, String toAddress, String subject, Multipart msg, String cc) throws MessagingException;I have used the same API to attach a file into email. Below is the sample code for same - // Create a multipart message I suppose this would serve the purpose. |
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.