![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Emails to Groups Topic Summary: Created On: 22-Jan-2008 07:41 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I found there can be two ways to send email notifications to different User Groups using dxl.First, setup in DOORS, Groups based on people who should recieve same email notification.Use Group g=find("group") in the script and use a loop to send the specific email.Second, use many Skip Lists and multiple put statements and send emails.
My exact requirement here is there are different group of people in my org who should recieve eash a different set of emails. Are the above two methods feasible in realtime & which one is the easier one to implement? |
|
![]() |
|
![]() |
|
Take a look at the following thread
Emails to users in specific groups ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks Tony.I did see your code before,however, in my case I plan to use a batch script to run the Email Notification dxl.
I was wondering if we can have multiple messages in the same email.At present, I have a script that sends 1 email per 1 module/requirement. How to have this 1 email club messages for all modules/requirements. Maybe I'm not very clear with my question? |
|
![]() |
|
![]() |
|
I would build different skip lists for each group that needs different emails. Yes its feasible in real time. It's quite fast. Just make sure your organization doesn't block DOORS on port 25 on your machine or whatever machine is sending the emails.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
I'd be tempted to make sure that any one Email address only gets one copy of a message. Its possible that a single person has more than one DOORS account, and its possible that a single DOORS account exists in more than one qualify. You also don't want to try to send an Email to an invalid account.
To do that, I'd loop through all the groups finding targets for your email, accumuting Emails in a Skip list. First, check to make sure the email has an '@' sign in it. If the Skip list has key 'string' Email address, you can ignore any 'put' errors as this just means you've already found that address for this particular email. After finding the emails, loop through the Skip extracting the addresses when you make the message. I think its better to have one email that is addressed to multiple people, than it is to have one separate email for each recipient. - Louie |
|
![]() |
|
![]() |
|
Is it possible to have a DOORS Module URL included in the email message?
Consider this scenario: 1.Users are been sent automated email reminders based on expiry dates of the Module. For eg; System Requirements Module has an expiry date 02/10/2008, and email reminders are sent to them everyday from 02/03/2008 to 02/10/2008. 2.Emails are sent for many such modules as well as some specific requirements in the module that has expiry dates. Now, my question is that if it is possible to have a DOORS URL in the email message so that the User can easily open the Module/Requirements we are talking about. (We are assuming they have DOORS clients installed on their machines). This would make such email reminder really meaningful. |
|
![]() |
|
![]() |
|
Use the getURL() perm to get the URL and add it to your message.
e.g. string s = getURL(current Module) This perm has plenty of variants, so you don't have to mess around casting... string getURL(Database__ d) string getURL(Module m) string getURL(ModName_ modNam) string getURL(ModuleVersion modVer) string getURL(Object o) string getURL(Folder f) string getURL(Project p) string getURL(Item i) Not sure how you get the string to appear as a link in the email though. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
In a DOORS email, its just sent as plain text. If you copy and paste a DOORS URL into an Outlook email thats not formatted to be text, it will show as a hyperlink and go to the module and object in question.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Thanks Tony & David.Unfortunately, there doesn't seem to be a good way to display the URL as hyperlink in the DOORS email. It would have really good then.
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Emails to Groups
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.