473,387 Members | 1,561 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,387 software developers and data experts.

e-mail in a visual basic .net application

does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!
Nov 20 '05 #1
12 1190
Hi Sohail, you need to check out the System.Web.Mail namespace, add a
refence to System.Web in your project, then you can send email (as long as
your running 2000/2003/XP and have IIS installed).

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Sohail Carim" <sh***@webmail.co.za> wrote in message
news:06****************************@phx.gbl...
does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!

Nov 20 '05 #2
* "Sohail Carim" <sh***@webmail.co.za> scripsit:
does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!


<http://msdn.microsoft.com/library/en-us/dnvssamp/html/vbcs_SendMail.asp>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Nak
Hi Tom,
your running 2000/2003/XP and have IIS installed).


I don't believe the SMTP service is tied to IIS is it? You can install
either or both, from my little experience of messing about on XP Pro anyway.

XP Home doesn't have it by the way Sohail, though I'm sure it can be
"bodgestalled".

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #4
> I don't believe the SMTP service is tied to IIS is it? You can install
either or both, from my little experience of messing about on XP Pro anyway.

Yes it is.
XP Home doesn't have it by the way Sohail, though I'm sure it can be
"bodgestalled".
Yes you can.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl... Hi Tom,
your running 2000/2003/XP and have IIS installed).
I don't believe the SMTP service is tied to IIS is it? You can install
either or both, from my little experience of messing about on XP Pro

anyway.
XP Home doesn't have it by the way Sohail, though I'm sure it can be
"bodgestalled".

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #5
Nak
Hi there,
Yes it is.
Strange how I managed to have IIS installed but not the SMTP service then?
hmm... weird. Also you need the CDO message objects provided with either
Outlook or Windows Server I believe. I cant use the Mail namespace on XP
Pro until I install Outlook again with the CDO objects.
Yes you can.


Also since been *fixed" my Microsoft, I can't on my version of XP Home, one
of the service packs *may* have fixed it, either that or my OEM version is
screwed up!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #6
> Strange how I managed to have IIS installed but not the SMTP service then?
hmm... weird. Also you need the CDO message objects provided with either
Outlook or Windows Server I believe. I cant use the Mail namespace on XP
Pro until I install Outlook again with the CDO objects.
Well, you do have to select it when you are installing IIS, in the Details
section. The SMTP server isn't necessary, you don't need the SMTP server at
all. I haven't got Outlook installed, but installing the SMTP server gives
me the CDO objects.
Also since been *fixed" my Microsoft, I can't on my version of XP Home, one of the service packs *may* have fixed it, either that or my OEM version is
screwed up!
It's just a feature.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:OY*************@TK2MSFTNGP10.phx.gbl... Hi there,
Yes it is.
Strange how I managed to have IIS installed but not the SMTP service then?
hmm... weird. Also you need the CDO message objects provided with either
Outlook or Windows Server I believe. I cant use the Mail namespace on XP
Pro until I install Outlook again with the CDO objects.
Yes you can.


Also since been *fixed" my Microsoft, I can't on my version of XP Home,

one of the service packs *may* have fixed it, either that or my OEM version is
screwed up!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #7
Nak
Hi Tom,
Well, you do have to select it when you are installing IIS, in the Details
section. The SMTP server isn't necessary, you don't need the SMTP server at all. I haven't got Outlook installed, but installing the SMTP server gives
me the CDO objects.
Aah, I see, so IIS is just a general name for it? I thought IIS was just a
posh name for Personal Web Server. I stand corrected.
It's just a feature.


What's a feature? IIS? Yeah, a disabled one for XP Home edition, I was just
saying that the article that Microsoft previously had on their site
explaining how to get IIS to work on XP Home doesn't work for me, I believe
this may have been *fixed* so that it doesn't work on a more permanent
basis.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #8
> Aah, I see, so IIS is just a general name for it? I thought IIS was just a
posh name for Personal Web Server. I stand corrected.
Internet Information Services, SMTP being a service of the internet,
providing information. Unless you get spam, then you get useless information
;-)
What's a feature? IIS? Yeah, a disabled one for XP Home edition, I was just saying that the article that Microsoft previously had on their site
explaining how to get IIS to work on XP Home doesn't work for me, I believe this may have been *fixed* so that it doesn't work on a more permanent
basis.
Actually, I was making a joke, the fact that IIS is disabled and you can't
get it to work is a *feature* of XP Home Edition.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl... Hi Tom,
Well, you do have to select it when you are installing IIS, in the Details section. The SMTP server isn't necessary, you don't need the SMTP server at
all. I haven't got Outlook installed, but installing the SMTP server gives me the CDO objects.


Aah, I see, so IIS is just a general name for it? I thought IIS was just a
posh name for Personal Web Server. I stand corrected.
It's just a feature.


What's a feature? IIS? Yeah, a disabled one for XP Home edition, I was

just saying that the article that Microsoft previously had on their site
explaining how to get IIS to work on XP Home doesn't work for me, I believe this may have been *fixed* so that it doesn't work on a more permanent
basis.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #9
Nak
Hi Tom,
Internet Information Services, SMTP being a service of the internet,
providing information. Unless you get spam, then you get useless information ;-)
LOL, Thanks for clearing that one up, the way you broke those words down,
pure genius ;-)
Actually, I was making a joke, the fact that IIS is disabled and you can't
get it to work is a *feature* of XP Home Edition.


LOL, sorry, I didn't realise you were being flippant :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #10
> LOL, Thanks for clearing that one up, the way you broke those words down,
pure genius ;-)
ROFL, I'm flippant am I?

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl... Hi Tom,
Internet Information Services, SMTP being a service of the internet,
providing information. Unless you get spam, then you get useless information
;-)


LOL, Thanks for clearing that one up, the way you broke those words down,
pure genius ;-)
Actually, I was making a joke, the fact that IIS is disabled and you can't get it to work is a *feature* of XP Home Edition.


LOL, sorry, I didn't realise you were being flippant :-)

Nick.

--

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #11
Nak
Hi Tom,
ROFL, I'm flippant am I?


LOL, "sarcamacastic" as I like to say ;-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #12
Hi Nak,
"sarcamacastic" Nice

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:#C*************@tk2msftngp13.phx.gbl... Hi Tom,
ROFL, I'm flippant am I?
LOL, "sarcamacastic" as I like to say ;-)

Nick.

--

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Nov 20 '05 #13

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

Similar topics

1
by: Robin Powers | last post by:
PROCESS CONTROLS/VISUAL BASIC PROGRAMMERS SALARY: TO $100,000 LOCATION: LOS ANGELES AREA Our Client has recently acquired process automation systems used to monitor and control their...
2
by: Ermi | last post by:
Hi, i have this problem.... From a visual basic application I must replace the value contained in a column with another one....for example Field1 ------ Alfa Beta Gamma
3
by: Omar | last post by:
Hi Developers, I am trying to access an Excel data file through a VB.Net application. I have the following code: =================================== VB.Net Code =================== Dim...
16
by: Jesse Liberty | last post by:
I am writing a new book on Visual Basic 2005, targeted at VB6 programmers, and to some degree VB.NET 1.x programmers. I'd like to sign up a (limited) number of volunteers to read the book and...
0
by: neon123 | last post by:
i am using a sql loader to load data into oracle 8. i am using vbscript to run the sql loader. i need to pass username and password entered through vbscript ,,into the visual basic application . ...
0
by: tarachandmishra | last post by:
dear all my self tarachand ..iam develping an application in vb with mysql database but iam unable to import the .sql file in to mysql database. i can do it from command window.by passing...
2
by: =?Utf-8?B?Q2F0aA==?= | last post by:
Hi! I'd like to link a Visio diagram with a Visual Basic application. Is it possible ?
2
by: dancer | last post by:
In Visual Basic 2005 Express Edition When I choose Console Application for the project, the source code page automatically comes up with: Module Module1 When I choose Windows Application, the...
1
by: khaledctg | last post by:
I am wondering while working with Oracle Developer 10g. I can design and write code in design mode and it runs from a web browser. Can't I do so with Visual Basic dot Net?
8
by: stuart wieder | last post by:
i have an application containing a header with 5 filters (combo boxes) and 2 search boxes (text boxes). When the search boxes are used and return no records in the detail of the form, the actual...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
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,...
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
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...

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.