Hello Everyone,
I really need help in this email. I am using pop3 service to connect to
microsoft exchange. I have two profiles defined
in microsoft exchange.
One is west1 and another one is west2.
When I am trying to connect to west1.
I can succesfully connect to the excahnge mail box, but if i try to connect
to another west2 profile then
I get an error that server does not exists. Although in microsoft exchange
itself, I can successfully connect to both the profiles.
I am having problem in the code.
Below is the code for connecting to the server, but I don't know where
should I define the profile.
private void serverConnectio n(string userName, string password, string
serverName, DataRow dr1, DataRow dr)
{
long msgNumber;
string strMessage;
Pop3 obj = new Pop3();
obj.Connect(ser verName, userName, password);
}
public void Connect(string server, string username,
string password)
{
string message;
string response;
Connect(server, 110);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
message = "USER " + username + "\r\n";
Write(message);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
message = "PASS " + password + "\r\n";
Write(message);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
}
In the show profile box of microsoft outlook, I have defined under "When
starting microsoft outlook use this profile" west2.
Can anyone please tell me where can I define the profile and succesfully
connect to the excahnge server or if there is any other way to connect to
different profiles.
Any help will be greatly appreciated. 1 1338
Don't multi-post. If you're going to post to multiple groups, post them all
at once, so if someone answers it, the other groups can see the answer and
people there know they can spend their time helping someone else.
Robin S.
------------------------------
"Vinki" <Vi***@discussi ons.microsoft.c omwrote in message
news:80******** *************** ***********@mic rosoft.com...
Hello Everyone,
I really need help in this email. I am using pop3 service to connect to
microsoft exchange. I have two profiles defined
in microsoft exchange.
One is west1 and another one is west2.
When I am trying to connect to west1.
I can succesfully connect to the excahnge mail box, but if i try to
connect
to another west2 profile then
I get an error that server does not exists. Although in microsoft
exchange
itself, I can successfully connect to both the profiles.
I am having problem in the code.
Below is the code for connecting to the server, but I don't know where
should I define the profile.
private void serverConnectio n(string userName, string password, string
serverName, DataRow dr1, DataRow dr)
{
long msgNumber;
string strMessage;
Pop3 obj = new Pop3();
obj.Connect(ser verName, userName, password);
}
public void Connect(string server, string username,
string password)
{
string message;
string response;
Connect(server, 110);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
message = "USER " + username + "\r\n";
Write(message);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
message = "PASS " + password + "\r\n";
Write(message);
response = Response();
if (response.Subst ring(0, 3) != "+OK")
{
throw new Pop3Exception(r esponse);
}
}
In the show profile box of microsoft outlook, I have defined under "When
starting microsoft outlook use this profile" west2.
Can anyone please tell me where can I define the profile and succesfully
connect to the excahnge server or if there is any other way to connect to
different profiles.
Any help will be greatly appreciated.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Schmidt |
last post by:
Dear list:
I am new to python, and I am trying to figure out the short answer on
something.
I want to open a POP3 mailbox, read the enclosed mail using the POP3
module, , and then process it using the email module.
Environment Python 2.3.4, Mandrake Linux 9.0 patched up the wazoo...
|
by: Jay |
last post by:
I'm not asking for any code (although it would be nice if
someone got a sample).
But how would i design a web based POP3 client? I want the
users to be able to access the emails from Outlook, and
the web based email client. What i'm not sure how to
design is where to store the emails for the web based
client. Should i operate on the mailroot folder directly,
or create another folder on the server (or another
server), where the emails...
|
by: Ron Vecchi |
last post by:
I a runnning w2k3 pop3 mail server that came with iis6.
I would like to write an application that progammtically creates the new
mailboxes in an already established mail domain.
Does anyone know how I would access this funcationality?
Thanks,
Ron Vecchi
|
by: Matt Porter |
last post by:
I'm writing a c# web app and I can't find a POP3 mail component. I found
the SMTP component, but not a POP3 one. Seems like there should be one.
What is the name of the POP3 component? or do I have to write my own?
|
by: Mike Brearley |
last post by:
I need to write a script that will check a catch-all mailbox (pop3) and send
a non delivery report back to the sender of the email.
Background info:
I have a domain hosted on a site that offers unlimited email accounts... the
problem is, emails sent to an invalid address on the domain aren't
automatically returned as non-deliverable. I am, however, able to set up a
catch-all address and able to pick up those emails. Id like to set up a...
| |
by: =?Utf-8?B?Vmlua2k=?= |
last post by:
Hello Everyone,
I really need help in this email. I am using pop3 service to connect to
microsoft exchange. I have two profiles defined
in microsoft exchange.
One is west1 and another one is west2.
When I am trying to connect to west1.
I can succesfully connect to the excahnge mail box, but if i try to connect
to another west2 profile then
|
by: =?Utf-8?B?QWxwYW5h?= |
last post by:
I am making a thin email client and want to get emails from a pop3
server...Is there any built in support in C# to get emails from a pop3 server
and parse the email to show up on the UI ?
|
by: =?Utf-8?B?Q2hhcmxlcw==?= |
last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all
my emails stored on the Yahoo! server. However sometimes I can’t get access
to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA
uses Windows Mobile software. Since using the PDA, I have had the problem of
emails disappearing from the Yahoo! server. However I think I now understand
how to avoid this.
It seems that Windows Mobile is...
|
by: mp- |
last post by:
I want to be able to allow people to check their email from my PHP
online application.
Given only the users 1) email address, 2) username (if applicable) and
3) password - how can I auto detect a remote IMAP/POP3 server so that
I can connect and fetch mail for the user. (Ultimately, I don't want
users to have to know what the IMAP/POP3 server name / port is .... I
would like to auto-detect all of that).
At first I thought I could use...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |