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

ASP mail IIS server

Hi all...
Could anyone please tell me how to use ASP to send mail from my local web
server (using IIS on wWindowsXP-pro)? what are the necessary setting needed
in IIS to enable mail sending? and how can i send mail?? I tried many web
sited but the codes I get simply dont work at all!!! I am really going nuts
here!
thanks
Jul 19 '05 #1
8 3310
On Thu, 17 Jun 2004 19:23:25 GMT, "Ammar" <am**********@comhem.se>
wrote:
Hi all...
Could anyone please tell me how to use ASP to send mail from my local web
server (using IIS on wWindowsXP-pro)?
That would be a FAQ:

http://www.aspfaq.com/show.asp?id=2119
what are the necessary setting needed
in IIS to enable mail sending?
That depends on the method. See the FAQ above.
and how can i send mail??
See the FAQ.
I tried many web
sited but the codes I get simply dont work at all!!!
Could be you're low on SMTP fluid in your IIS server. Make sure you
don't add "STP" it's a lower grade and only works with three letter
acronyms.

Or maybe that's not it at all. Hard to tell from the extensive
symptoms and error messages you've posted.
I am really going nuts
here!


Most of us have been nuts for years.

Jeff
Jul 19 '05 #2

"Jeff Cochran" <je*********@zina.com> wrote in message
news:40****************@msnews.microsoft.com...
On Thu, 17 Jun 2004 19:23:25 GMT, "Ammar" <am**********@comhem.se>
wrote:
Hi all...
Could anyone please tell me how to use ASP to send mail from my local web
server (using IIS on wWindowsXP-pro)?


That would be a FAQ:

http://www.aspfaq.com/show.asp?id=2119
what are the necessary setting needed
in IIS to enable mail sending?


That depends on the method. See the FAQ above.
and how can i send mail??


See the FAQ.
I tried many web
sited but the codes I get simply dont work at all!!!


Could be you're low on SMTP fluid in your IIS server. Make sure you
don't add "STP" it's a lower grade and only works with three letter
acronyms.

Or maybe that's not it at all. Hard to tell from the extensive
symptoms and error messages you've posted.
I am really going nuts
here!


Most of us have been nuts for years.

Jeff


Thanks,
the way i understand it, is that i have to install a third party e-mail
software like JMail, but i was wondering, cant i send e mail from my local
IIS without a third party mail? i mean if i uppload my web page to an ASP
host that runs only IIS and no other softwares, how can i send e mails form
that server then??
Am i missing something here? maybe i am asking something very stupid or
basic but i am new to ASP
Ammar
Jul 19 '05 #3
"Ammar" <am**********@comhem.se> wrote in message
news:E7******************@newsb.telia.net...

"Jeff Cochran" <je*********@zina.com> wrote in message
news:40****************@msnews.microsoft.com...
On Thu, 17 Jun 2004 19:23:25 GMT, "Ammar" <am**********@comhem.se>
wrote:
Hi all...
Could anyone please tell me how to use ASP to send mail from my local webserver (using IIS on wWindowsXP-pro)?


That would be a FAQ:

http://www.aspfaq.com/show.asp?id=2119
what are the necessary setting needed
in IIS to enable mail sending?


That depends on the method. See the FAQ above.
and how can i send mail??


See the FAQ.
I tried many web
sited but the codes I get simply dont work at all!!!


Could be you're low on SMTP fluid in your IIS server. Make sure you
don't add "STP" it's a lower grade and only works with three letter
acronyms.

Or maybe that's not it at all. Hard to tell from the extensive
symptoms and error messages you've posted.
I am really going nuts
here!


Most of us have been nuts for years.

Jeff


Thanks,
the way i understand it, is that i have to install a third party e-mail
software like JMail,


No - you don't. Did you read the FAQ? Make sure you install the SMTP
service with IIS.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #4

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:ca*********@kcweb01.netnews.att.com...
"Ammar" <am**********@comhem.se> wrote in message
news:E7******************@newsb.telia.net...

"Jeff Cochran" <je*********@zina.com> wrote in message
news:40****************@msnews.microsoft.com...
On Thu, 17 Jun 2004 19:23:25 GMT, "Ammar" <am**********@comhem.se>
wrote:

>Hi all...
>Could anyone please tell me how to use ASP to send mail from my local web >server (using IIS on wWindowsXP-pro)?

That would be a FAQ:

http://www.aspfaq.com/show.asp?id=2119

>what are the necessary setting needed
>in IIS to enable mail sending?

That depends on the method. See the FAQ above.

>and how can i send mail??

See the FAQ.

>I tried many web
>sited but the codes I get simply dont work at all!!!

Could be you're low on SMTP fluid in your IIS server. Make sure you
don't add "STP" it's a lower grade and only works with three letter
acronyms.

Or maybe that's not it at all. Hard to tell from the extensive
symptoms and error messages you've posted.

>I am really going nuts
>here!

Most of us have been nuts for years.

Jeff
Thanks,
the way i understand it, is that i have to install a third party e-mail
software like JMail,


No - you don't. Did you read the FAQ? Make sure you install the SMTP
service with IIS.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running

IIS http://www.tryiis.com

OK huys
finally i made it!! it is wonderful! i managed to send my first ASP mail!!
one thing left, i souldnt find how to send attachements through CDO (and NOT
CDONTS) obj. can anyone help
Thanks
Ammar

Jul 19 '05 #5

OK huys
finally i made it!! it is wonderful! i managed to send my first ASP mail!!
one thing left, i souldnt find how to send attachements through CDO (and

NOT CDONTS) obj. can anyone help
Thanks
Ammar

to explain more....
i used the .AddAttachment method, but i get an error all the time:

a.. Error Type:
CDO.Message.1 (0x800C000D)
The specified protocol is unknown.
/mail.asp, line 20

line 20 is:

.AddAttachment "c:\boot.ini"

i tried several file pathes with the same result...

what to do?

Ammar
Jul 19 '05 #6
"Ammar" wrote in message news:3u********************@newsc.telia.net...
:
: > >
: > >
: > OK huys
: > finally i made it!! it is wonderful! i managed to send my first ASP
mail!!
: > one thing left, i souldnt find how to send attachements through CDO (and
: NOT
: > CDONTS) obj. can anyone help
: > Thanks
: > Ammar
: >
: to explain more....
: i used the .AddAttachment method, but i get an error all the time:
:
: a.. Error Type:
: CDO.Message.1 (0x800C000D)
: The specified protocol is unknown.
: /mail.asp, line 20
:
: line 20 is:
:
: .AddAttachment "c:\boot.ini"
:
: i tried several file pathes with the same result...
:
: what to do?

Why are you trying to attach your boot.ini file which is read-only, hidden
and system attributed?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #7
On Thu, 17 Jun 2004 20:26:12 GMT, "Ammar" <am**********@comhem.se>
wrote:

"Jeff Cochran" <je*********@zina.com> wrote in message
news:40****************@msnews.microsoft.com...
On Thu, 17 Jun 2004 19:23:25 GMT, "Ammar" <am**********@comhem.se>
wrote:
>Hi all...
>Could anyone please tell me how to use ASP to send mail from my local web
>server (using IIS on wWindowsXP-pro)?
That would be a FAQ:

http://www.aspfaq.com/show.asp?id=2119
>what are the necessary setting needed
>in IIS to enable mail sending?


That depends on the method. See the FAQ above.
>and how can i send mail??


See the FAQ.
>I tried many web
>sited but the codes I get simply dont work at all!!!


Could be you're low on SMTP fluid in your IIS server. Make sure you
don't add "STP" it's a lower grade and only works with three letter
acronyms.

Or maybe that's not it at all. Hard to tell from the extensive
symptoms and error messages you've posted.
>I am really going nuts
>here!


Most of us have been nuts for years.

Jeff


Thanks,
the way i understand it, is that i have to install a third party e-mail
software like JMail, but i was wondering, cant i send e mail from my local
IIS without a third party mail?


Did you actually read the FAQ?

The first two sentences:

"There are several components that enable you to do this. You may
already have one, if you have an SMTP server installed alongside IIS -
it's called CDO.Message."

So, you don't need a third party email component like JMail.
i mean if i uppload my web page to an ASP
host that runs only IIS and no other softwares, how can i send e mails form
that server then??
Via whatever method that host supports.
Am i missing something here? maybe i am asking something very stupid or
basic but i am new to ASP


It's not stupid, but if you're uploading to a host you can't control,
you need to use whatever method that host has available for sending
email. If you can install components, then you can use a third party
component if you wish. Read the FAQ and look at the options listed.

Jeff
Jul 19 '05 #8
On Thu, 17 Jun 2004 21:58:23 GMT, "Ammar" <am**********@comhem.se>
wrote:
>
>

OK huys
finally i made it!! it is wonderful! i managed to send my first ASP mail!!
one thing left, i souldnt find how to send attachements through CDO (and

NOT
CDONTS) obj. can anyone help
Thanks
Ammar

to explain more....
i used the .AddAttachment method, but i get an error all the time:

a.. Error Type:
CDO.Message.1 (0x800C000D)
The specified protocol is unknown.
/mail.asp, line 20

line 20 is:

.AddAttachment "c:\boot.ini"

i tried several file pathes with the same result...

what to do?


Try a sample text file, in the web folder itself. Not a hidden,
read-only file on a drive the IUSR account may not have access to
(shouldn't have at least).

Also, Google for "ASP CDO Attachment" and you'll find examples of
specific code.

Jeff
Jul 19 '05 #9

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

Similar topics

6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: Charlie | last post by:
Hi: I'm working on an e-commerce site. Using the SMTP class, my site sends out confirmation messages. It works most of the time, but sometimes raises an error. I need a way of making sure it...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
6
by: rekaeps | last post by:
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles sending e-mail from the server when accessing the web site from a separate client computer. Also, in the same scenario,...
8
by: Robert Dufour | last post by:
Dim message As New MailMessage("mymail@mydomain.com", "mymail@mydomain.com", "Test", "Test") Dim emailClient As New SmtpClient("localhost") emailClient.Send(message) The IIS server is...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
I want to build an simple email smtp client app similar to outlook except with some custom features for a personal computer that uses comcast cable. The owner of the computer said she doesn't have...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.