Ask a Question related to ASP Database, Design and Development.
-
j #1
uing CDONTS w/ ASP on XP IIS 5.1
Hi Folks. Trying to use ASP to submit data to both an access database and
to an e-mail address at the same time.
After downloading the example cdonts from microsoft I pasted the following
into my email.asp.
Set myCDONTSMail = CreateObject("CDONTS.NewMail")
When data is submitted it goes into the access database fine but the e-mail
never gets generated.
Instead this message appears:
a.. Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/email/email.asp, line 127
================================================== =================
a.. Page:
POST 123 bytes to /email/email.asp
I heard that in order for this to work I have to obtain cdonts.dll from a
win2k machine and then register it.
Is there an alternative or better way to do this?
Thanks.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27
j Guest
-
CDONTS
CDO.Message see www.aspfaq.com CDONTS has been phased out. the last OS to include it was Windows 2000 -
CDONTS vs CDO
OK, so obviously cdonts doesnt work with ii6. Why its depreciated, i dont know. What i need to know is how to just send a simple email, my old... -
using CDONTS on XP iis 5.1
Hi Folks. Trying to use ASP to submit data to both an access database and to an e-mail address at the same time. After downloading the example... -
CDONTS for IIS 5.1
Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm... -
CDONTS & BCC
Hi I have a website hosted on a virtual server, and am trying to run a script that sends an email with a BCC address. The email gets sent just... -
Mike D #2
Re: uing CDONTS w/ ASP on XP IIS 5.1
Use cdo
[url]http://www.aspfaq.com/show.asp?id=2026[/url]
Mike
"j" <someon@nowhere.cc> wrote in message
news:edGYBvcvDHA.2712@TK2MSFTNGP11.phx.gbl...> Hi Folks. Trying to use ASP to submit data to both an access database and
> to an e-mail address at the same time.
> After downloading the example cdonts from microsoft I pasted the following
> into my email.asp.
>
> Set myCDONTSMail = CreateObject("CDONTS.NewMail")
>
> When data is submitted it goes into the access database fine but the> never gets generated.
>
> Instead this message appears:
>
> a.. Error Type:
> Microsoft VBScript compilation (0x800A0400)
> Expected statement
> /email/email.asp, line 127
> ================================================== =================
>
> a.. Page:
> POST 123 bytes to /email/email.asp
>
>
> I heard that in order for this to work I have to obtain cdonts.dll from a
> win2k machine and then register it.
>
> Is there an alternative or better way to do this?
>
> Thanks.
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
> Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27
>
>
Mike D Guest
-
Peder K. jensen #3
uing CDONTS w/ ASP on XP IIS 5.1
Hi
I also have read, that on XP you have to use CDO 1.2.1
instead of CDONTS, but it does not work for me either. CDO
has no pendant to NewMail, so you have to logon a mailbox,
and I have not succeeded.
My code so far looks:
<%
Set mySession = CreateObject("MAPI.Session")
mySession.Logon ,,,,,, "MyComputer.MyDomain.dk" & vbLf &
vbLf & "anon"
%>
using the documentation for CDO 1.2.1 in MSDN. But as I
told: I get an error when I try the logon-statement.
If you find a solution, I am very interested in hearing
about it.
Peder
Original Message:>
>Set myCDONTSMail = CreateObject("CDONTS.NewMail")
>Peder K. jensen Guest
-
Tom Kaminski [MVP] #4
Re: uing CDONTS w/ ASP on XP IIS 5.1
"Peder K. jensen" <anonymous@discussions.microsoft.com> wrote in message
news:0b1301c3bf2e$9458e340$a501280a@phx.gbl...You're going about it completely the wrong way ...> Hi
>
> I also have read, that on XP you have to use CDO 1.2.1
> instead of CDONTS, but it does not work for me either. CDO
> has no pendant to NewMail, so you have to logon a mailbox,
> and I have not succeeded.
>
> My code so far looks:
> <%
> Set mySession = CreateObject("MAPI.Session")
> mySession.Logon ,,,,,, "MyComputer.MyDomain.dk" & vbLf &
> vbLf & "anon"
> %>
> using the documentation for CDO 1.2.1 in MSDN. But as I
> told: I get an error when I try the logon-statement.
>
> If you find a solution, I am very interested in hearing
> about it.
[url]http://www.aspfaq.com/show.asp?id=2026[/url]
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
Aaron Bertrand - MVP #5
Re: uing CDONTS w/ ASP on XP IIS 5.1
> instead of CDONTS, but it does not work for me either. CDO
What are you on about? I guess you've never seen CDO.Message?> has no pendant to NewMail, so you have to logon a mailbox,
[url]http://www.aspfaq.com/2026[/url]
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
Aaron Bertrand - MVP Guest
-
j #6
Re: uing CDONTS w/ ASP on XP IIS 5.1
OKAY!! Thanks folks.
"Mike D" <MikeD@nospam.com> wrote in message
news:uiv9I7cvDHA.2492@TK2MSFTNGP12.phx.gbl...and> Use cdo
>
> [url]http://www.aspfaq.com/show.asp?id=2026[/url]
>
> Mike
>
>
> "j" <someon@nowhere.cc> wrote in message
> news:edGYBvcvDHA.2712@TK2MSFTNGP11.phx.gbl...> > Hi Folks. Trying to use ASP to submit data to both an access databasefollowing> > to an e-mail address at the same time.
> > After downloading the example cdonts from microsoft I pasted thea> > into my email.asp.
> >
> > Set myCDONTSMail = CreateObject("CDONTS.NewMail")
> >
> > When data is submitted it goes into the access database fine but the> > never gets generated.
> >
> > Instead this message appears:
> >
> > a.. Error Type:
> > Microsoft VBScript compilation (0x800A0400)
> > Expected statement
> > /email/email.asp, line 127
> > ================================================== =================
> >
> > a.. Page:
> > POST 123 bytes to /email/email.asp
> >
> >
> > I heard that in order for this to work I have to obtain cdonts.dll from>> > win2k machine and then register it.
> >
> > Is there an alternative or better way to do this?
> >
> > Thanks.
> >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
> > Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27
> >
> >
>
j Guest



Reply With Quote

