473,394 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Email Through Exchange

wg
I am developing an application to send emails from within a company using
MS-Exchange. I know next to nothing about Exchange. Does anyone know how to
get started in this? Can I use the SendMail from .NET?

Thanks

Wade
Feb 27 '06 #1
1 1359
Hi Wade,
try the code below

using System.Web.Mail

MailMessage mailMessage = new MailMessage();
mailMessage.To = ".jdflsdjf"; (semi-colon separated list for multiple
addresses)
mailMessage.From = "lsjfsdjf";
mailMessage.Subject = "ldjlsjf";
mailMessage.Body = "lkjdflj";

SmtpMail.SmtpServer = "000.000.0"; (ip address of mail server)
SmtpMail.Send(mailMessage);
SmtpMail

"wg" wrote:
I am developing an application to send emails from within a company using
MS-Exchange. I know next to nothing about Exchange. Does anyone know how to
get started in this? Can I use the SendMail from .NET?

Thanks

Wade

Feb 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
1
by: Brian Henry | last post by:
Does anyone know how to send an email to an internal exchange server (internal email only, how you can send email to a username in active directory in exchange with out a domain (@domain.com) after...
4
by: Jason | last post by:
Hi all I have wrote a small email client that checks POP3 email (using username and password). this work fine. I would now like to add the functionality to check email on an exchange server,...
1
by: jm | last post by:
I am using C# for this. I am not sure where to begin. Any search hints are appreciated. I have an email account on my Exchange server. I want to send it an email. I want it, somehow, so...
3
by: mphanke | last post by:
Hi there, I have a customer who has an Exchange Server running on an ISA Server. And there my problem begins... I have to pickup eMails through my software from that server - the problem: I...
11
by: tshad | last post by:
I have a W2003 server running my website and I am trying to set up my pages to send email using System.Web.Mail. I have pages running on this machine using CDONTS that work fine. I am using...
8
by: Frank | last post by:
I think I've confused myself completely here :-) I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and...
1
by: Gilbert Cheung | last post by:
Hello. I am writing a website for my company. There is a sign-up form that requires us to send a confirmation email to our customer. Our company uses Exchange Server 2000 as our mail server. We...
9
by: Paul H | last post by:
If there is no email client on the XP workstation that my DB is on, is it possible for Access to talk directly with Exchange Server to send an email? I am sure you might think, what's the problem...
1
by: DAXU | last post by:
Hi, I wrote a small function to send email in c# function detail: { MailMessage theMailMessage = new MailMessage("administrator@carweb.com", "jerry@amtdatatechnologies.com");...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.