Hi,
I use MailMessage to send emails and it works fine. But I don't know what
object I can use to receive emails. Could you help me with this?
Thanks in advance.
Li 4 2144
Hi Li,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know how to receive emails
using .net. If there is any misunderstandin g, please feel free to let me
know.
As far as I know, System.Web.Mail namespace only provides us with classes
that use SMTP to send mail messages. However, how to receive the mail
messages depends on the mail server you're using. If you're working on an
Exchange Server, please try CDO.
For more information, please check the following link: http://msdn.microsoft.com/library/de...us/cdo/html/_o
lemsg_overview_ of_cdo.asp
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Li
In addition to Kevin (when his solution does not fit you) can you look at
these pages. http://www.indyproject.org/indy.html
I would first go for Kevin's solution
Cor
"Li Weng" <wl******@newsg roup.nospam> Hi,
I use MailMessage to send emails and it works fine. But I don't know what object I can use to receive emails. Could you help me with this? Thanks in advance.
Li
Hi, Kevin and Cor:
Thanks a lot!
Li
"Kevin Yu [MSFT]" wrote: Hi Li,
First of all, I would like to confirm my understanding of your issue. From your description, I understand that you need to know how to receive emails using .net. If there is any misunderstandin g, please feel free to let me know.
As far as I know, System.Web.Mail namespace only provides us with classes that use SMTP to send mail messages. However, how to receive the mail messages depends on the mail server you're using. If you're working on an Exchange Server, please try CDO.
For more information, please check the following link:
http://msdn.microsoft.com/library/de...us/cdo/html/_o lemsg_overview_ of_cdo.asp
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
You're welcome, Li. Thanks for sharing your experience with all the people
here. If you have any questions, please feel free to post them in the
community.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: siliconmike |
last post by:
How to set up my PC (or what tools do I need) so that when any email
comes to the server, a php script is automatically run to parse the
email ?
I've never done this before. Later I would like to transfer my website
to a Linux box, but I'm using a PC currently to develop the site.
Details are welcome. In fact I have no concepts about which program or
"server" is supposed to receive email, then how would that program
"pass" the email...
|
by: Sven Groot |
last post by:
I have a Windows Service application that acts as if it's an SMTP server.
Outlook connects to this service, which is always running on the localhost.
This works fine most of the time.
However, sometimes it will no longer receive anything from Outlook.
Socket.Receive would block indefinitely (actually, Socket.Poll times out,
because that's what I'm using). Outlook sends it, because when I'm stepping
through the code with the debugger,...
|
by: Robert Rossney |
last post by:
I'm trying to send and receive XmlDocument objects using the
System.Messaging.dll functions. The code I've written follows, as best I
can tell, the methodology used in the sample code for the
XmlMessageFormatter class. But it isn't working -- specifically, receiving
isn't working. What am I doing wrong here?
I begin by creating a MessageQueue object and setting up its
XmlMessageFormatter to handle XmlDocument objects:
System.Type...
|
by: Richard A. Wells |
last post by:
All I wanted to do was implement a web service where I'd receive an
XML document and return one in response. I'd already figured out how
to use XmlReader and XmlWriter classes to do the XML work I need to
do. And all that fancy ASP.NET serialization really got in my way.
Reading articles by Yasser Shohoud, Tim Ewald, and Matt Powell led me
down many promising paths, along the way writing an XSD schema file
for my messages, trying to...
|
by: Jason |
last post by:
Hi all
I have a little FTP proggie. It works, on windows xp, but it doesnt work
properly on windows 2000. The first problem i have, is when retrieving a
list of files.
int bytes = cSocket.Receive(buffer, buffer.Length, 0);
this.message += ASCII.GetString(buffer, 0, bytes);
bytes is returned as size 18, my buffer.Length is set at 512, but i only get
| |
by: Homa |
last post by:
Hi,
I'm writing a webpage that will send sms to cell phone using smtp
(System.Web.Mail.SmtpMail.SmtpServer)
When I send to tmobile (tmomail.net) or cingular (mycingular.net),
cell phone receives twice.
When I send the same message to AT&T (mobile.att.net) or regular
email, I just receive once.
|
by: Robert Treat |
last post by:
We got a few of these on a 7.3 server this afternoon. The server was
completed pegged on i/o activity (both physical disks, including the one
the db doesn't live on)
May 12 15:15:51 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
May 12 15:15:52 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
May 12 15:15:52 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
|
by: ransoma22 |
last post by:
I developing an application that receive SMS from a connected GSM
handphone, e.g Siemens M55, Nokia 6230,etc through the data cable.
The application(VB.NET) will receive the SMS automatically, process and
output to the screen in my application when a message arrived. But the
problem is how do I read the SMS message immediately when it arrived
without my handphone BeEPINg for new message ? I read up the AT
commands, but when getting down...
|
by: Jack |
last post by:
I am trying to receive xml files on my server which are posted from another
server using http post. I need help in designing a receiver which will accept
this xml file and send back a success message back to the sender. Can someone
give me some code examples on how to design this piece? I am having
difficulty proceeding with the design here. Any help will be appreciated. You
can also email me code samples at jacktundra@removethis-hotmail.com
|
by: s0suk3 |
last post by:
I wanted to ask for standard ways to receive data from a socket stream
(with socket.socket.recv()). It's simple when you know the amount of
data that you're going to receive, or when you'll receive data until
the remote peer closes the connection. But I'm not sure which is the
best way to receive a message with undetermined length from a stream
in a connection that you expect to remain open. Until now, I've been
doing this little trick:
...
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |