Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 5th, 2008, 04:30 AM
Registered User
Join Date: Mar 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default help ( open mail account)

I want to open the Internet explorer on the yahoo mail account depending on the username and password were entered by the user into textboxes and when click on a button the internet explorer will open on the user account after this page had opened the user can access his account such as sending messages and open inbox messages to read the messages. in another word i want to make user login to his mail through windows application.

  my code:

private void button1_Click(object sender, EventArgs e)


string id = textBox1.Text;

string pass = textBox2.Text;



private void login(x,y)



please tell me what is the appropriate code that should be put in the function login(x,y) to work as i want.

  #2 (permalink)  
Old March 5th, 2008, 05:30 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts

I doubt very much you can.

If you want to open IE with a given URL then you can use the System.Diagnostics.Process class to load the URL, e.g.:


If you know a URL that can redirect to Yahoo mail then you can use that, but I doubt there is a URL that will automatically log the user in as this would be a huge security hole.

/- Sam Judson : Wrox Technical Editor -/
  #3 (permalink)  
Old March 5th, 2008, 11:51 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma

You said it Sam.

To forgo Yahoo's login page calls for a black hat handy :P.

Merawwa, I would advise you to stay clean and straightforward, go thru the channel, use Yahoo's authentication API. Use them to let the user login normally, (now here you can have a bit of a say over how much of the login page you wanna show, modify the browser window parameters), then you can redirect to mail.yahoo.com to get to the inbox or where ever it is you wanna redirect your user to.

Learn about these APIs here


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is my IUSR Account? rit01 Classic ASP Basics 1 December 4th, 2005 05:20 PM
Urgent! mail account in ASP.net using C#.net vicman BOOK: ASP.NET Website Programming Problem-Design-Solution 0 February 18th, 2005 08:38 AM
How can I import MS outlook e-mail account in C# hytechpro C# 0 November 30th, 2004 02:56 AM
How to open a new mail from a Windows App Johan C# 1 June 16th, 2003 10:45 AM

All times are GMT -4. The time now is 09:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.