Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Emails to Groups
Topic Summary:
Created On: 22-Jan-2008 07:41
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 22-Jan-2008 07:41
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

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?
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 08:55
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Take a look at the following thread
Emails to users in specific groups

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 10:38
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

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?
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 13:36
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

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
Report this to a Moderator Report this to a Moderator
 22-Jan-2008 14:40
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 07:46
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

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.
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 09:34
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 13:26
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

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
Report this to a Moderator Report this to a Moderator
 5-Feb-2008 07:07
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

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.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.