Jump to content
Sign in to follow this  
Guest AlexUhde

Add Mail-Acc. to OutlookXP

Recommended Posts

Guest AlexUhde

Hi!

Im trying to build a script, that setup my eMail Accounts in Outlook XP!

It should read a txt file. In this file is every line a account! something like:

name name2 email@mail.com pop.mail.com smtp.mail.com user@mail.com password
name name2 email2@mail.com pop.mail.com smtp.mail.com user2@mail.com password

But i don't know how to get the things so that the i can use them in the script!

my script sofar:

WinActivate("E-Mail-Konten", "")
ControlClick("", "", "Button2", "left", 1)
Sleep(10)
ControlClick("", "", "Button2", "left", 1)
sleep(10)
Send ("{ENTER}")
FileOpen ( "mailacc.txt", mode 0)

Can U help me?

Thx Alex

Share this post


Link to post
Share on other sites
ioliver

You can look into using a PRF file to setup your Outlook account. And then automate generating a PRF file.

Hope that helps,

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

Share this post


Link to post
Share on other sites
Chris_1013

I think you need to look in the help file for FileReadLine() and StringSplit(), these should help you with getting the line of text and breaking it into it's component parts.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×