Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help in retrving password!!
#1
Not Solved
Hi Again,

Good Morning.
Last time Saket really helped me get over an issue. Thanks a ton.

I have another issue here.
when i create an user in my application:
- The Password for the user goes to the mail.
- If i create 100 users, the 100th user's password would be mail number 1.
- The Mail is not outlook, but its a webmail.
- When i type the mail url [ eg: https:// aaa.aaa.com/aaa ] , a popup appears asking me to type in the username and password for the mail and click ok.
- the body of the mail is as follows :
Dear <Username>,

The Password for <Firstname? <Lastname> is as follows,
ftre445bab4367.
Please change it in the first login.
Please contact adminsitrator if you cannot login.

- I need to get only the password from the mail.
Can somebody help?
any pseudocode would be apprecaited.

Thanks,
SK
Reply
#2
Not Solved
Heard About Parsing ? Well, the question asked could be tricky but you may need to do few trial & error before you get the solution. Here is a lead,
1. Copy the text into a text file.
2. Read line by line
3. See if you get the password field after a particular line or any indication or pointer to the password field.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
Based on the text you've given that would appear in the prompt, there is only one comma (,), so you can use the split command and split the text.
Ex:
first move the text to a variable ABC
MyArray = Split(ABC, ",", -1, 1)
Passwordone = MyArray(1)

Now the vairable "Passwordone" would have the password you need
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Password Encryption while entering during run time. nyObject 2 7,845 03-23-2011, 12:04 AM
Last Post: cdesserich
  Enter data in Password Mode ashuniks 1 2,410 12-02-2008, 09:51 PM
Last Post: roxer

Forum Jump:


Users browsing this thread: 1 Guest(s)