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: Email Loop Test
Topic Summary: How to test this loop
Created On: 28-Mar-2007 14:31
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.
Answer This question was answered by Tony Goodman, on Wednesday, March 28, 2007 5:17 PM

Answer:
Here you go.

I have modified the script slightly to write to a file rather than actualy send the emails.
You could probably add some more tests such as checking if the user account has been disabled etc.
 28-Mar-2007 14:31
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

I got this code from this forum to send email to multiple users and now i need to test it, but i don't know how to. What i want is to run this loop and create files instead sending to the 500 hundred users a test email. If anyone have an idea i will appreciate.

Thanks

Report this to a Moderator Report this to a Moderator
 28-Mar-2007 15:12
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

after line: string uName = user.name

test to see if uName is you and one of your friends
If it is send email.
Report this to a Moderator Report this to a Moderator
 28-Mar-2007 15:51
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

Ron: What i need is to run this program but insted sending an email to all users i want to create a file. if the script work its supose to create like 500 files and with that test i guranteed that is going to work. I can't send the email to all users cause i don't want to crash the system.
Report this to a Moderator Report this to a Moderator
 28-Mar-2007 16:12
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer Answer
Here you go.

I have modified the script slightly to write to a file rather than actualy send the emails.
You could probably add some more tests such as checking if the user account has been disabled etc.

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 28-Mar-2007 at 16:13 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 28-Mar-2007 17:20
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

Thanks Tony You're Great I'm trying to catch up a lot of DXL i've been working with it only two months and this DXL Reference is good but hard. Thanks a lot
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.