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

Couple of questions on System.web.mail

I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?
I am using this component. It works fine when I give the
IP address of the mail server. But when I give the full
hostname of the mail server it gives me an error.

Can anyone help me with this??

Thanks in advance

Ricky

Nov 20 '05 #1
12 1224
What error did you get?
If you are using a server name for the smtp server the machine running your
code has to be able to resolve that name (it is a TCP/IP issue).
Also, you do not need IIS on the machine running your code. The SMTP server,
however, may be an IIS server running the SMTP service.

Telmo Sampaio

"Ricky" <an*******@discussions.microsoft.com> wrote in message
news:21****************************@phx.gbl...
I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?
I am using this component. It works fine when I give the
IP address of the mail server. But when I give the full
hostname of the mail server it gives me an error.

Can anyone help me with this??

Thanks in advance

Ricky

Nov 20 '05 #2
I got the following error:

An unhandled exception of type 'System.Web.HttpException'
occurred in system.web.dll

Additional information: Could not access 'CDO.Message'
object.

-----Original Message-----
What error did you get?
If you are using a server name for the smtp server the machine running yourcode has to be able to resolve that name (it is a TCP/IP issue).Also, you do not need IIS on the machine running your code. The SMTP server,however, may be an IIS server running the SMTP service.

Telmo Sampaio

"Ricky" <an*******@discussions.microsoft.com> wrote in messagenews:21****************************@phx.gbl...
I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?
I am using this component. It works fine when I give the IP address of the mail server. But when I give the full
hostname of the mail server it gives me an error.

Can anyone help me with this??

Thanks in advance

Ricky

.

Nov 20 '05 #3
* "Ricky" <an*******@discussions.microsoft.com> scripsit:
I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
Yes.
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?


The SMTP service and CDO need to be installed, AFAIK.

For more information on this webspace, take a look at
<URL:http://www.systemwebmail.net/>.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
Thank you for the reply but I still have some more
question on this.

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
Yes.


So this componenet does not work on Win 98/Me?
2) Does sending email using this component need IIS
installed on the machines from where the email is being sent?


The SMTP service and CDO need to be installed, AFAIK.


So when the clients use my application their system must
have SMTP Service and CDO installed on their machines?

How can I install the CDO on their machines.Do I need to
take the CDO dll and register it on their machines?? Can
you tell me what exactly I will need to do if I need to
register the SMTP Servcie or the CDO on my client
machines.



-----Original Message-----
* "Ricky" <an*******@discussions.microsoft.com> scripsit:
I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.


Yes.
2) Does sending email using this component need IIS
installed on the machines from where the email is being sent?


The SMTP service and CDO need to be installed, AFAIK.

For more information on this webspace, take a look at
<URL:http://www.systemwebmail.net/>.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #5
You need CDO. It should be there for Windows OS's, and only Windows OS's.
You do not need the SMTP Service, just access to a machine that runs it
(your SMTP server).

Telmo Sampaio
<an*******@discussions.microsoft.com> wrote in message
news:23****************************@phx.gbl...
I got the following error:

An unhandled exception of type 'System.Web.HttpException'
occurred in system.web.dll

Additional information: Could not access 'CDO.Message'
object.

-----Original Message-----
What error did you get?
If you are using a server name for the smtp server the

machine running your
code has to be able to resolve that name (it is a TCP/IP

issue).
Also, you do not need IIS on the machine running your

code. The SMTP server,
however, may be an IIS server running the SMTP service.

Telmo Sampaio

"Ricky" <an*******@discussions.microsoft.com> wrote in

message
news:21****************************@phx.gbl...
I am using the System.web.mail component in my
application being developed in VB.NET

1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?
I am using this component. It works fine when I give the IP address of the mail server. But when I give the full
hostname of the mail server it gives me an error.

Can anyone help me with this??

Thanks in advance

Ricky

.

Nov 20 '05 #6
* "Ricky" <an*******@discussions.microsoft.com> scripsit:
1) Does sending email using System.web.mail work/run
only on WinNT,2000 and XP Operating systems.
Yes.


So this componenet does not work on Win 98/Me?


Right, it doesn't work there.
2) Does sending email using this component need IIS
installed on the machines from where the email is being sent?


The SMTP service and CDO need to be installed, AFAIK.


So when the clients use my application their system must
have SMTP Service and CDO installed on their machines?


AFAIK Yes. I never played around with that, so I am not able to give your
more information on that, but I strongly recommend to take a look at the
website I mentioned in my last post.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2m************@uni-berlin.de...
2) Does sending email using this component need IIS
installed on the machines from where the email is being
sent?


The SMTP service and CDO need to be installed, AFAIK.


I think when the poster said "sent" he meant "created" or "generated." In
that case, I don't believe you need an SMTP server on THAT machine.
Nov 20 '05 #8

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2m************@uni-berlin.de...
The SMTP service and CDO need to be installed, AFAIK.


So when the clients use my application their system must
have SMTP Service and CDO installed on their machines?


AFAIK Yes. I never played around with that, so I am not able to give your
more information on that, but I strongly recommend to take a look at the
website I mentioned in my last post.


If System.Web.Mail simply uses CDOSYS behind the scenes, you don't need an
SMTP server on the machine that's creating the email message. I've
personally used CDOSYS from my WindowsXP machine in non-.NET languages to
send mail to a different server and I have no SMTP server on mine.
Nov 20 '05 #9
* "Jeff Johnson [MVP: VB]" <i.***@enough.spam> scripsit:
AFAIK Yes. I never played around with that, so I am not able to give your
more information on that, but I strongly recommend to take a look at the
website I mentioned in my last post.


If System.Web.Mail simply uses CDOSYS behind the scenes, you don't need an
SMTP server on the machine that's creating the email message. I've
personally used CDOSYS from my WindowsXP machine in non-.NET languages to
send mail to a different server and I have no SMTP server on mine.


ACK, you can specify another SMTP server than the local SMTP server, and
thus won't need to have a local SMTP server running.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #10
It worked finally. I followed the deirections given in
suggestion6 of this web page
http://www.systemwebmail.net/faq/4.2.3.aspx

One last question.

Can I send email to a person's mailid outside the
hostname i am specifying.
i.e If mail server hostname - "abc.com"
I can send email to "jo**@abc.com" but can I send it
to "jo**@yahoo.com" also??

I'll keep trying

Thanks a lot



-----Original Message-----
* "Jeff Johnson [MVP: VB]" <i.***@enough.spam> scripsit:
AFAIK Yes. I never played around with that, so I am not able to give your more information on that, but I strongly recommend to take a look at the website I mentioned in my last post.
If System.Web.Mail simply uses CDOSYS behind the scenes, you don't need an SMTP server on the machine that's creating the email message. I've personally used CDOSYS from my WindowsXP machine in non-.NET languages to send mail to a different server and I have no SMTP

server on mine.
ACK, you can specify another SMTP server than the local SMTP server, andthus won't need to have a local SMTP server running.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #11

"Ricky" <an*******@discussions.microsoft.com> wrote in message
news:25****************************@phx.gbl...
It worked finally. I followed the deirections given in
suggestion6 of this web page
http://www.systemwebmail.net/faq/4.2.3.aspx

One last question.

Can I send email to a person's mailid outside the
hostname i am specifying.
i.e If mail server hostname - "abc.com"
I can send email to "jo**@abc.com" but can I send it
to "jo**@yahoo.com" also??


As long as either

A) YOU are authenticating to the mail server as a user in the abc.com
domain, because generally mail servers will route mail for their own people
or
B) Your mail server has been set to allow routing. This is rare because it
opens up the potential for SPAM.
Nov 20 '05 #12


-----Original Message-----

"Ricky" <an*******@discussions.microsoft.com> wrote in messagenews:25****************************@phx.gbl...
It worked finally. I followed the deirections given in
suggestion6 of this web page
http://www.systemwebmail.net/faq/4.2.3.aspx

One last question.

Can I send email to a person's mailid outside the
hostname i am specifying.
i.e If mail server hostname - "abc.com"
I can send email to "jo**@abc.com" but can I send it
to "jo**@yahoo.com" also??
As long as either

A) YOU are authenticating to the mail server as a user

in the abc.comdomain, because generally mail servers will route mail for their own peopleor
B) Your mail server has been set to allow routing. This is rare because itopens up the potential for SPAM.
.

Nov 20 '05 #13

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

Similar topics

2
by: Edward | last post by:
Hello, everybody, I tried to send Email out using ASP.NET, but failed, here is the code of sending: -------------------------------------------------------------------------------- Try...
6
by: Együd Csaba | last post by:
Hi All, I'd like to dump out my database using plain text format. Everything is ok, but the bytea filds. Restoring the dump file (using <<psql -f LO_TRY_INSERT_BYTEA.sql tmp7>>) it sends an...
1
by: Jobs | last post by:
What is application object ? Application object can used in situation where we want data to be shared across users globally. What's the difference between Cache object and application object...
11
by: julietbrown | last post by:
I'm really sorry if I posted this already. I'm new to the site, and as my Q doesn't seem to have appeared I think maybe I just previewed it and didn't actually post it. I want to send e-mails...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.