Couple of questions on System.web.mail

R

Ricky

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
 
T

Telmo Sampaio

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
 
G

Guest

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.
 
H

Herfried K. Wagner [MVP]

* "Ricky said:
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/>.
 
R

Ricky

Thank you for the reply but I still have some more
question on this.

1) Does sending email using System.web.mail work/run

So this componenet does not work on Win 98/Me?
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.
 
T

Telmo Sampaio

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
 
H

Herfried K. Wagner [MVP]

* "Ricky said:
1) Does sending email using System.web.mail work/run

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

Right, it doesn't work there.
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.
 
J

Jeff Johnson [MVP: VB]

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.
 
J

Jeff Johnson [MVP: VB]

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.
 
H

Herfried K. Wagner [MVP]

* "Jeff Johnson said:
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.
 
R

Ricky

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 "(e-mail address removed)" but can I send it
to "(e-mail address removed)" also??

I'll keep trying

Thanks a lot
 
J

Jeff Johnson [MVP: VB]

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 "(e-mail address removed)" but can I send it
to "(e-mail address removed)" 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.
 
G

Guest

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



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.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top