473,813 Members | 3,020 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDOSYS with SBS 2003

tp
HI.....

I have made simpale web site inside that i am generating email page which
send form as email.

i have setup small business server with Exchange server 2003 and i have
hosted my website with this server.

i can not generate email using following code while same code working with
my developement XP machine installed SMTP service.
The code is

Set objCDO = CreateObject("C DO.Message")
Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")

oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver") = "localhost"

oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" ) = 25

oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing") = 2

oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout") = 60
oMailConfig.Fie lds.Update

Set objCDO.Configur ation = oMailConfig
objCDO.From = "te**@yahoo.com "
objCDO.To = strEmail

objCDO.Subject = " Reminder"
objCDO.HTMLBody = strEmailBody
'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
' Send the message!
objCDO.Send
Set objCDO = Nothing
Is there any problem with tis code with exchange server
pls advide me

TP

Jul 22 '05
21 4016
tp
HI..

I have used Domain admin useras user name and pasword
means my user in group in domain admin groups on same server.

thank
tp
"Curt_C [MVP]" wrote:
What user are you using for the site on the server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:18******** *************** ***********@mic rosoft.com...
HI...

atlast we are proble
i have small busness server 2003 with exchange server 2003

I have write simple CDO email but i am receiving same error

"page canot found'

Error 500
"Internal server error"

Thanks
TP

"Curt_C [MVP]" wrote:
Argh... you never said you got a "page can not be found" error.. .
ok..... lets start over.

First off, is that the actual error message? Turn off friendly error
messages first, to ensure.
Second, try a sample page with just the CDO stuff, to test that out
without
all the other code, to find out whats going on.
Third, whats the server? Is it a Win2k, Win2k3, ?
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:E4******** *************** ***********@mic rosoft.com...
> HI...Thanks for reple me
>
>
> Let me explain in briff
>
> i have one on that for there is email button and i have write onclick
> event
> that is
>
> <input type="button"
> onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
> value="Email">
>
> so in emailform.asp
>
> i am retriving records from my table using querystring , upto this it
> works
> fine
> then display valuve in thable
>
> which i heve to assign to one variable like this
>
> <%
>
> Dim strEmailBody, objCDO,strEmail
> strEmail = Recordset1("ema il")
>
>
> strEmailBody ="<table width='660' height='36' border='1'>"
> strEmailBody = strEmailBody &"<tr>"
> strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
> class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
> strEmailBody = strEmailBody &"</tr>"
> strEmailBody = strEmailBody &" </table>"
>
> objCDO.From = "my domain email address"
> objCDO.To = strEmail
>
> objCDO.Subject = "Reminder"
> objCDO.HTMLBody = strEmailBody
>
> objCDO.Send
> Set objCDO = Nothing
> %>
>
>
> The above code works fine on my developement machine but on my server
> it
> gives me error page canot be displayed.
> If i take out CDO code as i mention earlier
>
> then it show me table with respected values from my table.
>
> the mail it seld not generating nothing in drop folder.
>
> if you have any idea pls let me know
>
> Thanks
>
> TP
>
>
>
> and then i have made table
>
> "Curt_C [MVP]" wrote:
>
>> huh? What does the page showing have to do with anything?
>>
>> If the email is put into the DROP folder then, as far as programming
>> goes,
>> its DONE.
>> From there SMTP takes over
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:CF******** *************** ***********@mic rosoft.com...
>> > HI..
>> >
>> > Thanks for reply
>> >
>> > i got your message but in my asp code if you discard cdo statement
>> > as
>> > follow
>> >
>> > ' Set objCDO = CreateObject("C DO.Message")
>> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >
>> > then it will show my page means it might be problem with cdosys as i
>> > was
>> > think
>> >
>> > can you me some idea
>> >
>> > Thanks
>> >
>> > Tp
>> >
>> >
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> If its getting to the DROP folder then its not a CDOSYS issue.
>> >> Sounds
>> >> like
>> >> SMTP or Exchange is the issue...so you may not be in the right spot
>> >> (asp
>> >> group). Try poking around www.aspfaq.com for some pointers though.
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> > HI...
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > Y i have check drop folder it is there and i am using my domain
>> >> > email
>> >> > addrress in from field.
>> >> >
>> >> > It is even not generating email ..
>> >> > i have check the cdosys.dll the file is there.
>> >> >
>> >> > Is there any problem due to small business with exchange ?
>> >> >
>> >> > Pls help me
>> >> >
>> >> > thank
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> check the DROP folder, is it even making it in there?
>> >> >> check the FROM address, use one from YOUR domain.. you may have
>> >> >> a
>> >> >> relay
>> >> >> issue.
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> > HI.....
>> >> >> >
>> >> >> > I have made simpale web site inside that i am generating email
>> >> >> > page
>> >> >> > which
>> >> >> > send form as email.
>> >> >> >
>> >> >> > i have setup small business server with Exchange server 2003
>> >> >> > and
>> >> >> > i
>> >> >> > have
>> >> >> > hosted my website with this server.
>> >> >> >
>> >> >> > i can not generate email using following code while same code
>> >> >> > working
>> >> >> > with
>> >> >> > my developement XP machine installed SMTP service.
>> >> >> > The code is
>> >> >> >
>> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> > Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> > = "localhost"
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> > = 25
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> > = 2
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> > = 60
>> >> >> > oMailConfig.Fie lds.Update
>> >> >> >
>> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> > objCDO.To = strEmail
>> >> >> >
>> >> >> > objCDO.Subject = " Reminder"
>> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> > ' Send the message!
>> >> >> > objCDO.Send
>> >> >> > Set objCDO = Nothing
>> >> >> >
>> >> >> >
>> >> >> > Is there any problem with tis code with exchange server
>> >> >> > pls advide me
>> >> >> >
>> >> >> > TP
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #11
Is SMTP running on your server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
HI..

I have used Domain admin useras user name and pasword
means my user in group in domain admin groups on same server.

thank
tp
"Curt_C [MVP]" wrote:
What user are you using for the site on the server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:18******** *************** ***********@mic rosoft.com...
> HI...
>
> atlast we are proble
> i have small busness server 2003 with exchange server 2003
>
> I have write simple CDO email but i am receiving same error
>
> "page canot found'
>
> Error 500
> "Internal server error"
>
> Thanks
> TP
>
> "Curt_C [MVP]" wrote:
>
>> Argh... you never said you got a "page can not be found" error.. .
>> ok..... lets start over.
>>
>> First off, is that the actual error message? Turn off friendly error
>> messages first, to ensure.
>> Second, try a sample page with just the CDO stuff, to test that out
>> without
>> all the other code, to find out whats going on.
>> Third, whats the server? Is it a Win2k, Win2k3, ?
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:E4******** *************** ***********@mic rosoft.com...
>> > HI...Thanks for reple me
>> >
>> >
>> > Let me explain in briff
>> >
>> > i have one on that for there is email button and i have write
>> > onclick
>> > event
>> > that is
>> >
>> > <input type="button"
>> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> > value="Email">
>> >
>> > so in emailform.asp
>> >
>> > i am retriving records from my table using querystring , upto this
>> > it
>> > works
>> > fine
>> > then display valuve in thable
>> >
>> > which i heve to assign to one variable like this
>> >
>> > <%
>> >
>> > Dim strEmailBody, objCDO,strEmail
>> > strEmail = Recordset1("ema il")
>> >
>> >
>> > strEmailBody ="<table width='660' height='36' border='1'>"
>> > strEmailBody = strEmailBody &"<tr>"
>> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
>> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> > strEmailBody = strEmailBody &"</tr>"
>> > strEmailBody = strEmailBody &" </table>"
>> >
>> > objCDO.From = "my domain email address"
>> > objCDO.To = strEmail
>> >
>> > objCDO.Subject = "Reminder"
>> > objCDO.HTMLBody = strEmailBody
>> >
>> > objCDO.Send
>> > Set objCDO = Nothing
>> > %>
>> >
>> >
>> > The above code works fine on my developement machine but on my
>> > server
>> > it
>> > gives me error page canot be displayed.
>> > If i take out CDO code as i mention earlier
>> >
>> > then it show me table with respected values from my table.
>> >
>> > the mail it seld not generating nothing in drop folder.
>> >
>> > if you have any idea pls let me know
>> >
>> > Thanks
>> >
>> > TP
>> >
>> >
>> >
>> > and then i have made table
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> huh? What does the page showing have to do with anything?
>> >>
>> >> If the email is put into the DROP folder then, as far as
>> >> programming
>> >> goes,
>> >> its DONE.
>> >> From there SMTP takes over
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> > HI..
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > i got your message but in my asp code if you discard cdo
>> >> > statement
>> >> > as
>> >> > follow
>> >> >
>> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >
>> >> > then it will show my page means it might be problem with cdosys
>> >> > as i
>> >> > was
>> >> > think
>> >> >
>> >> > can you me some idea
>> >> >
>> >> > Thanks
>> >> >
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> If its getting to the DROP folder then its not a CDOSYS issue.
>> >> >> Sounds
>> >> >> like
>> >> >> SMTP or Exchange is the issue...so you may not be in the right
>> >> >> spot
>> >> >> (asp
>> >> >> group). Try poking around www.aspfaq.com for some pointers
>> >> >> though.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> > HI...
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > Y i have check drop folder it is there and i am using my
>> >> >> > domain
>> >> >> > email
>> >> >> > addrress in from field.
>> >> >> >
>> >> >> > It is even not generating email ..
>> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >
>> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >
>> >> >> > Pls help me
>> >> >> >
>> >> >> > thank
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> check the FROM address, use one from YOUR domain.. you may
>> >> >> >> have
>> >> >> >> a
>> >> >> >> relay
>> >> >> >> issue.
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI.....
>> >> >> >> >
>> >> >> >> > I have made simpale web site inside that i am generating
>> >> >> >> > email
>> >> >> >> > page
>> >> >> >> > which
>> >> >> >> > send form as email.
>> >> >> >> >
>> >> >> >> > i have setup small business server with Exchange server
>> >> >> >> > 2003
>> >> >> >> > and
>> >> >> >> > i
>> >> >> >> > have
>> >> >> >> > hosted my website with this server.
>> >> >> >> >
>> >> >> >> > i can not generate email using following code while same
>> >> >> >> > code
>> >> >> >> > working
>> >> >> >> > with
>> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> > The code is
>> >> >> >> >
>> >> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> >> > Set oMailConfig = Server.CreateOb ject
>> >> >> >> > ("CDO.Configura tion")
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> > = "localhost"
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> > = 25
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> > = 2
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> > = 60
>> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >
>> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> > objCDO.To = strEmail
>> >> >> >> >
>> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> > ' Send the message!
>> >> >> >> > objCDO.Send
>> >> >> >> > Set objCDO = Nothing
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> > pls advide me
>> >> >> >> >
>> >> >> >> > TP
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #12
tp
HI

Ya it is running with exchange server 2003
because as i mention it is loaded with exchange server 2003

Thanks

"Curt_C [MVP]" wrote:
Is SMTP running on your server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
HI..

I have used Domain admin useras user name and pasword
means my user in group in domain admin groups on same server.

thank
tp
"Curt_C [MVP]" wrote:
What user are you using for the site on the server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:18******** *************** ***********@mic rosoft.com...
> HI...
>
> atlast we are proble
> i have small busness server 2003 with exchange server 2003
>
> I have write simple CDO email but i am receiving same error
>
> "page canot found'
>
> Error 500
> "Internal server error"
>
> Thanks
> TP
>
> "Curt_C [MVP]" wrote:
>
>> Argh... you never said you got a "page can not be found" error.. .
>> ok..... lets start over.
>>
>> First off, is that the actual error message? Turn off friendly error
>> messages first, to ensure.
>> Second, try a sample page with just the CDO stuff, to test that out
>> without
>> all the other code, to find out whats going on.
>> Third, whats the server? Is it a Win2k, Win2k3, ?
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:E4******** *************** ***********@mic rosoft.com...
>> > HI...Thanks for reple me
>> >
>> >
>> > Let me explain in briff
>> >
>> > i have one on that for there is email button and i have write
>> > onclick
>> > event
>> > that is
>> >
>> > <input type="button"
>> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> > value="Email">
>> >
>> > so in emailform.asp
>> >
>> > i am retriving records from my table using querystring , upto this
>> > it
>> > works
>> > fine
>> > then display valuve in thable
>> >
>> > which i heve to assign to one variable like this
>> >
>> > <%
>> >
>> > Dim strEmailBody, objCDO,strEmail
>> > strEmail = Recordset1("ema il")
>> >
>> >
>> > strEmailBody ="<table width='660' height='36' border='1'>"
>> > strEmailBody = strEmailBody &"<tr>"
>> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
>> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> > strEmailBody = strEmailBody &"</tr>"
>> > strEmailBody = strEmailBody &" </table>"
>> >
>> > objCDO.From = "my domain email address"
>> > objCDO.To = strEmail
>> >
>> > objCDO.Subject = "Reminder"
>> > objCDO.HTMLBody = strEmailBody
>> >
>> > objCDO.Send
>> > Set objCDO = Nothing
>> > %>
>> >
>> >
>> > The above code works fine on my developement machine but on my
>> > server
>> > it
>> > gives me error page canot be displayed.
>> > If i take out CDO code as i mention earlier
>> >
>> > then it show me table with respected values from my table.
>> >
>> > the mail it seld not generating nothing in drop folder.
>> >
>> > if you have any idea pls let me know
>> >
>> > Thanks
>> >
>> > TP
>> >
>> >
>> >
>> > and then i have made table
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> huh? What does the page showing have to do with anything?
>> >>
>> >> If the email is put into the DROP folder then, as far as
>> >> programming
>> >> goes,
>> >> its DONE.
>> >> From there SMTP takes over
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> > HI..
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > i got your message but in my asp code if you discard cdo
>> >> > statement
>> >> > as
>> >> > follow
>> >> >
>> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >
>> >> > then it will show my page means it might be problem with cdosys
>> >> > as i
>> >> > was
>> >> > think
>> >> >
>> >> > can you me some idea
>> >> >
>> >> > Thanks
>> >> >
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> If its getting to the DROP folder then its not a CDOSYS issue.
>> >> >> Sounds
>> >> >> like
>> >> >> SMTP or Exchange is the issue...so you may not be in the right
>> >> >> spot
>> >> >> (asp
>> >> >> group). Try poking around www.aspfaq.com for some pointers
>> >> >> though.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> > HI...
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > Y i have check drop folder it is there and i am using my
>> >> >> > domain
>> >> >> > email
>> >> >> > addrress in from field.
>> >> >> >
>> >> >> > It is even not generating email ..
>> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >
>> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >
>> >> >> > Pls help me
>> >> >> >
>> >> >> > thank
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> check the FROM address, use one from YOUR domain.. you may
>> >> >> >> have
>> >> >> >> a
>> >> >> >> relay
>> >> >> >> issue.
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI.....
>> >> >> >> >
>> >> >> >> > I have made simpale web site inside that i am generating
>> >> >> >> > email
>> >> >> >> > page
>> >> >> >> > which
>> >> >> >> > send form as email.
>> >> >> >> >
>> >> >> >> > i have setup small business server with Exchange server
>> >> >> >> > 2003
>> >> >> >> > and
>> >> >> >> > i
>> >> >> >> > have
>> >> >> >> > hosted my website with this server.
>> >> >> >> >
>> >> >> >> > i can not generate email using following code while same
>> >> >> >> > code
>> >> >> >> > working
>> >> >> >> > with
>> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> > The code is
>> >> >> >> >
>> >> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> >> > Set oMailConfig = Server.CreateOb ject
>> >> >> >> > ("CDO.Configura tion")
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> > = "localhost"
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> > = 25
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> > = 2
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> > = 60
>> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >
>> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> > objCDO.To = strEmail
>> >> >> >> >
>> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> > ' Send the message!
>> >> >> >> > objCDO.Send
>> >> >> >> > Set objCDO = Nothing
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> > pls advide me
>> >> >> >> >
>> >> >> >> > TP
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>

Jul 22 '05 #13
show the exact code you are using to test with

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:F7******** *************** ***********@mic rosoft.com...
HI

Ya it is running with exchange server 2003
because as i mention it is loaded with exchange server 2003

Thanks

"Curt_C [MVP]" wrote:
Is SMTP running on your server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
> HI..
>
> I have used Domain admin useras user name and pasword
> means my user in group in domain admin groups on same server.
>
> thank
> tp
>
>
> "Curt_C [MVP]" wrote:
>
>> What user are you using for the site on the server?
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:18******** *************** ***********@mic rosoft.com...
>> > HI...
>> >
>> > atlast we are proble
>> > i have small busness server 2003 with exchange server 2003
>> >
>> > I have write simple CDO email but i am receiving same error
>> >
>> > "page canot found'
>> >
>> > Error 500
>> > "Internal server error"
>> >
>> > Thanks
>> > TP
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> Argh... you never said you got a "page can not be found" error.. .
>> >> ok..... lets start over.
>> >>
>> >> First off, is that the actual error message? Turn off friendly
>> >> error
>> >> messages first, to ensure.
>> >> Second, try a sample page with just the CDO stuff, to test that out
>> >> without
>> >> all the other code, to find out whats going on.
>> >> Third, whats the server? Is it a Win2k, Win2k3, ?
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:E4******** *************** ***********@mic rosoft.com...
>> >> > HI...Thanks for reple me
>> >> >
>> >> >
>> >> > Let me explain in briff
>> >> >
>> >> > i have one on that for there is email button and i have write
>> >> > onclick
>> >> > event
>> >> > that is
>> >> >
>> >> > <input type="button"
>> >> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> >> > value="Email">
>> >> >
>> >> > so in emailform.asp
>> >> >
>> >> > i am retriving records from my table using querystring , upto
>> >> > this
>> >> > it
>> >> > works
>> >> > fine
>> >> > then display valuve in thable
>> >> >
>> >> > which i heve to assign to one variable like this
>> >> >
>> >> > <%
>> >> >
>> >> > Dim strEmailBody, objCDO,strEmail
>> >> > strEmail = Recordset1("ema il")
>> >> >
>> >> >
>> >> > strEmailBody ="<table width='660' height='36' border='1'>"
>> >> > strEmailBody = strEmailBody &"<tr>"
>> >> > strEmailBody = strEmailBody &"<td width='71'><div
>> >> > align='left'><s pan
>> >> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> >> > strEmailBody = strEmailBody &"</tr>"
>> >> > strEmailBody = strEmailBody &" </table>"
>> >> >
>> >> > objCDO.From = "my domain email address"
>> >> > objCDO.To = strEmail
>> >> >
>> >> > objCDO.Subject = "Reminder"
>> >> > objCDO.HTMLBody = strEmailBody
>> >> >
>> >> > objCDO.Send
>> >> > Set objCDO = Nothing
>> >> > %>
>> >> >
>> >> >
>> >> > The above code works fine on my developement machine but on my
>> >> > server
>> >> > it
>> >> > gives me error page canot be displayed.
>> >> > If i take out CDO code as i mention earlier
>> >> >
>> >> > then it show me table with respected values from my table.
>> >> >
>> >> > the mail it seld not generating nothing in drop folder.
>> >> >
>> >> > if you have any idea pls let me know
>> >> >
>> >> > Thanks
>> >> >
>> >> > TP
>> >> >
>> >> >
>> >> >
>> >> > and then i have made table
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> huh? What does the page showing have to do with anything?
>> >> >>
>> >> >> If the email is put into the DROP folder then, as far as
>> >> >> programming
>> >> >> goes,
>> >> >> its DONE.
>> >> >> From there SMTP takes over
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> >> > HI..
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > i got your message but in my asp code if you discard cdo
>> >> >> > statement
>> >> >> > as
>> >> >> > follow
>> >> >> >
>> >> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > then it will show my page means it might be problem with
>> >> >> > cdosys
>> >> >> > as i
>> >> >> > was
>> >> >> > think
>> >> >> >
>> >> >> > can you me some idea
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> If its getting to the DROP folder then its not a CDOSYS
>> >> >> >> issue.
>> >> >> >> Sounds
>> >> >> >> like
>> >> >> >> SMTP or Exchange is the issue...so you may not be in the
>> >> >> >> right
>> >> >> >> spot
>> >> >> >> (asp
>> >> >> >> group). Try poking around www.aspfaq.com for some pointers
>> >> >> >> though.
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI...
>> >> >> >> >
>> >> >> >> > Thanks for reply
>> >> >> >> >
>> >> >> >> > Y i have check drop folder it is there and i am using my
>> >> >> >> > domain
>> >> >> >> > email
>> >> >> >> > addrress in from field.
>> >> >> >> >
>> >> >> >> > It is even not generating email ..
>> >> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >> >
>> >> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >> >
>> >> >> >> > Pls help me
>> >> >> >> >
>> >> >> >> > thank
>> >> >> >> > Tp
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >> >
>> >> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> >> check the FROM address, use one from YOUR domain.. you may
>> >> >> >> >> have
>> >> >> >> >> a
>> >> >> >> >> relay
>> >> >> >> >> issue.
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Curt Christianson
>> >> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> >> > HI.....
>> >> >> >> >> >
>> >> >> >> >> > I have made simpale web site inside that i am generating
>> >> >> >> >> > email
>> >> >> >> >> > page
>> >> >> >> >> > which
>> >> >> >> >> > send form as email.
>> >> >> >> >> >
>> >> >> >> >> > i have setup small business server with Exchange server
>> >> >> >> >> > 2003
>> >> >> >> >> > and
>> >> >> >> >> > i
>> >> >> >> >> > have
>> >> >> >> >> > hosted my website with this server.
>> >> >> >> >> >
>> >> >> >> >> > i can not generate email using following code while same
>> >> >> >> >> > code
>> >> >> >> >> > working
>> >> >> >> >> > with
>> >> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> >> > The code is
>> >> >> >> >> >
>> >> >> >> >> > Set objCDO =
>> >> >> >> >> > CreateObject("C DO.Message")
>> >> >> >> >> > Set oMailConfig = Server.CreateOb ject
>> >> >> >> >> > ("CDO.Configura tion")
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> >> > = "localhost"
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> >> > = 25
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> >> > = 2
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> >> > = 60
>> >> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >> >
>> >> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> >> > objCDO.To = strEmail
>> >> >> >> >> >
>> >> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> >> > ' Send the message!
>> >> >> >> >> > objCDO.Send
>> >> >> >> >> > Set objCDO = Nothing
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> >> > pls advide me
>> >> >> >> >> >
>> >> >> >> >> > TP
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>

Jul 22 '05 #14
tp
hi..
I am using following code

<%

Dim strEmailBody, objCDO,strEmail ,iConf,Flds

Set objCDO = CreateObject("C DO.Message")

Set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
Flds("http://schemas.microso ft.com/cdo/configuration/sendusing") = 3
Flds("http://schemas.microso ft.com/cdo/configuration/user") = "my domain user"
Flds("http://schemas.microso ft.com/cdo/configuration/password") = "my
password"
Flds.Update

Set objCDO.Configur ation = iConf
objCDO.From = "my email address"
objCDO.To = "some one"

objCDO.Subject = "Reminder"
objCDO.HTMLBody = "This is test email form mail server"

objCDO.Send
Set objCDO = Nothing

%>
my domain user :

"Curt_C [MVP]" wrote:
show the exact code you are using to test with

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:F7******** *************** ***********@mic rosoft.com...
HI

Ya it is running with exchange server 2003
because as i mention it is loaded with exchange server 2003

Thanks

"Curt_C [MVP]" wrote:
Is SMTP running on your server?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
> HI..
>
> I have used Domain admin useras user name and pasword
> means my user in group in domain admin groups on same server.
>
> thank
> tp
>
>
> "Curt_C [MVP]" wrote:
>
>> What user are you using for the site on the server?
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:18******** *************** ***********@mic rosoft.com...
>> > HI...
>> >
>> > atlast we are proble
>> > i have small busness server 2003 with exchange server 2003
>> >
>> > I have write simple CDO email but i am receiving same error
>> >
>> > "page canot found'
>> >
>> > Error 500
>> > "Internal server error"
>> >
>> > Thanks
>> > TP
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> Argh... you never said you got a "page can not be found" error.. .
>> >> ok..... lets start over.
>> >>
>> >> First off, is that the actual error message? Turn off friendly
>> >> error
>> >> messages first, to ensure.
>> >> Second, try a sample page with just the CDO stuff, to test that out
>> >> without
>> >> all the other code, to find out whats going on.
>> >> Third, whats the server? Is it a Win2k, Win2k3, ?
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:E4******** *************** ***********@mic rosoft.com...
>> >> > HI...Thanks for reple me
>> >> >
>> >> >
>> >> > Let me explain in briff
>> >> >
>> >> > i have one on that for there is email button and i have write
>> >> > onclick
>> >> > event
>> >> > that is
>> >> >
>> >> > <input type="button"
>> >> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> >> > value="Email">
>> >> >
>> >> > so in emailform.asp
>> >> >
>> >> > i am retriving records from my table using querystring , upto
>> >> > this
>> >> > it
>> >> > works
>> >> > fine
>> >> > then display valuve in thable
>> >> >
>> >> > which i heve to assign to one variable like this
>> >> >
>> >> > <%
>> >> >
>> >> > Dim strEmailBody, objCDO,strEmail
>> >> > strEmail = Recordset1("ema il")
>> >> >
>> >> >
>> >> > strEmailBody ="<table width='660' height='36' border='1'>"
>> >> > strEmailBody = strEmailBody &"<tr>"
>> >> > strEmailBody = strEmailBody &"<td width='71'><div
>> >> > align='left'><s pan
>> >> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> >> > strEmailBody = strEmailBody &"</tr>"
>> >> > strEmailBody = strEmailBody &" </table>"
>> >> >
>> >> > objCDO.From = "my domain email address"
>> >> > objCDO.To = strEmail
>> >> >
>> >> > objCDO.Subject = "Reminder"
>> >> > objCDO.HTMLBody = strEmailBody
>> >> >
>> >> > objCDO.Send
>> >> > Set objCDO = Nothing
>> >> > %>
>> >> >
>> >> >
>> >> > The above code works fine on my developement machine but on my
>> >> > server
>> >> > it
>> >> > gives me error page canot be displayed.
>> >> > If i take out CDO code as i mention earlier
>> >> >
>> >> > then it show me table with respected values from my table.
>> >> >
>> >> > the mail it seld not generating nothing in drop folder.
>> >> >
>> >> > if you have any idea pls let me know
>> >> >
>> >> > Thanks
>> >> >
>> >> > TP
>> >> >
>> >> >
>> >> >
>> >> > and then i have made table
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> huh? What does the page showing have to do with anything?
>> >> >>
>> >> >> If the email is put into the DROP folder then, as far as
>> >> >> programming
>> >> >> goes,
>> >> >> its DONE.
>> >> >> From there SMTP takes over
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> >> > HI..
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > i got your message but in my asp code if you discard cdo
>> >> >> > statement
>> >> >> > as
>> >> >> > follow
>> >> >> >
>> >> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > then it will show my page means it might be problem with
>> >> >> > cdosys
>> >> >> > as i
>> >> >> > was
>> >> >> > think
>> >> >> >
>> >> >> > can you me some idea
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> If its getting to the DROP folder then its not a CDOSYS
>> >> >> >> issue.
>> >> >> >> Sounds
>> >> >> >> like
>> >> >> >> SMTP or Exchange is the issue...so you may not be in the
>> >> >> >> right
>> >> >> >> spot
>> >> >> >> (asp
>> >> >> >> group). Try poking around www.aspfaq.com for some pointers
>> >> >> >> though.
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI...
>> >> >> >> >
>> >> >> >> > Thanks for reply
>> >> >> >> >
>> >> >> >> > Y i have check drop folder it is there and i am using my
>> >> >> >> > domain
>> >> >> >> > email
>> >> >> >> > addrress in from field.
>> >> >> >> >
>> >> >> >> > It is even not generating email ..
>> >> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >> >
>> >> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >> >
>> >> >> >> > Pls help me
>> >> >> >> >
>> >> >> >> > thank
>> >> >> >> > Tp
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >> >
>> >> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> >> check the FROM address, use one from YOUR domain.. you may
>> >> >> >> >> have
>> >> >> >> >> a
>> >> >> >> >> relay
>> >> >> >> >> issue.
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Curt Christianson
>> >> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> >> > HI.....
>> >> >> >> >> >
>> >> >> >> >> > I have made simpale web site inside that i am generating
>> >> >> >> >> > email
>> >> >> >> >> > page
>> >> >> >> >> > which
>> >> >> >> >> > send form as email.
>> >> >> >> >> >
>> >> >> >> >> > i have setup small business server with Exchange server
>> >> >> >> >> > 2003
>> >> >> >> >> > and
>> >> >> >> >> > i
>> >> >> >> >> > have
>> >> >> >> >> > hosted my website with this server.
>> >> >> >> >> >
>> >> >> >> >> > i can not generate email using following code while same
>> >> >> >> >> > code
>> >> >> >> >> > working
>> >> >> >> >> > with
>> >> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> >> > The code is
>> >> >> >> >> >
>> >> >> >> >> > Set objCDO =
>> >> >> >> >> > CreateObject("C DO.Message")
>> >> >> >> >> > Set oMailConfig = Server.CreateOb ject
>> >> >> >> >> > ("CDO.Configura tion")
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> >> > = "localhost"
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> >> > = 25
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> >> > = 2
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> >> > = 60
>> >> >> >> >> > oMailConfig.Fie lds.Update

Jul 22 '05 #15
On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
HI...

atlast we are proble
i have small busness server 2003 with exchange server 2003

I have write simple CDO email but i am receiving same error

"page canot found'

Error 500
"Internal server error"
Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Jeff
Thanks
TP

"Curt_C [MVP]" wrote:
Argh... you never said you got a "page can not be found" error.. .
ok..... lets start over.

First off, is that the actual error message? Turn off friendly error
messages first, to ensure.
Second, try a sample page with just the CDO stuff, to test that out without
all the other code, to find out whats going on.
Third, whats the server? Is it a Win2k, Win2k3, ?
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:E4******** *************** ***********@mic rosoft.com...
> HI...Thanks for reple me
>
>
> Let me explain in briff
>
> i have one on that for there is email button and i have write onclick
> event
> that is
>
> <input type="button"
> onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
> value="Email">
>
> so in emailform.asp
>
> i am retriving records from my table using querystring , upto this it
> works
> fine
> then display valuve in thable
>
> which i heve to assign to one variable like this
>
> <%
>
> Dim strEmailBody, objCDO,strEmail
> strEmail = Recordset1("ema il")
>
>
> strEmailBody ="<table width='660' height='36' border='1'>"
> strEmailBody = strEmailBody &"<tr>"
> strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
> class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
> strEmailBody = strEmailBody &"</tr>"
> strEmailBody = strEmailBody &" </table>"
>
> objCDO.From = "my domain email address"
> objCDO.To = strEmail
>
> objCDO.Subject = "Reminder"
> objCDO.HTMLBody = strEmailBody
>
> objCDO.Send
> Set objCDO = Nothing
> %>
>
>
> The above code works fine on my developement machine but on my server it
> gives me error page canot be displayed.
> If i take out CDO code as i mention earlier
>
> then it show me table with respected values from my table.
>
> the mail it seld not generating nothing in drop folder.
>
> if you have any idea pls let me know
>
> Thanks
>
> TP
>
>
>
> and then i have made table
>
> "Curt_C [MVP]" wrote:
>
>> huh? What does the page showing have to do with anything?
>>
>> If the email is put into the DROP folder then, as far as programming
>> goes,
>> its DONE.
>> From there SMTP takes over
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:CF******** *************** ***********@mic rosoft.com...
>> > HI..
>> >
>> > Thanks for reply
>> >
>> > i got your message but in my asp code if you discard cdo statement as
>> > follow
>> >
>> > ' Set objCDO = CreateObject("C DO.Message")
>> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >
>> > then it will show my page means it might be problem with cdosys as i
>> > was
>> > think
>> >
>> > can you me some idea
>> >
>> > Thanks
>> >
>> > Tp
>> >
>> >
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> If its getting to the DROP folder then its not a CDOSYS issue. Sounds
>> >> like
>> >> SMTP or Exchange is the issue...so you may not be in the right spot
>> >> (asp
>> >> group). Try poking around www.aspfaq.com for some pointers though.
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> > HI...
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > Y i have check drop folder it is there and i am using my domain
>> >> > email
>> >> > addrress in from field.
>> >> >
>> >> > It is even not generating email ..
>> >> > i have check the cdosys.dll the file is there.
>> >> >
>> >> > Is there any problem due to small business with exchange ?
>> >> >
>> >> > Pls help me
>> >> >
>> >> > thank
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> check the DROP folder, is it even making it in there?
>> >> >> check the FROM address, use one from YOUR domain.. you may have a
>> >> >> relay
>> >> >> issue.
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> > HI.....
>> >> >> >
>> >> >> > I have made simpale web site inside that i am generating email
>> >> >> > page
>> >> >> > which
>> >> >> > send form as email.
>> >> >> >
>> >> >> > i have setup small business server with Exchange server 2003 and
>> >> >> > i
>> >> >> > have
>> >> >> > hosted my website with this server.
>> >> >> >
>> >> >> > i can not generate email using following code while same code
>> >> >> > working
>> >> >> > with
>> >> >> > my developement XP machine installed SMTP service.
>> >> >> > The code is
>> >> >> >
>> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> > Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> > = "localhost"
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> > = 25
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> > = 2
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> > = 60
>> >> >> > oMailConfig.Fie lds.Update
>> >> >> >
>> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> > objCDO.To = strEmail
>> >> >> >
>> >> >> > objCDO.Subject = " Reminder"
>> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> > ' Send the message!
>> >> >> > objCDO.Send
>> >> >> > Set objCDO = Nothing
>> >> >> >
>> >> >> >
>> >> >> > Is there any problem with tis code with exchange server
>> >> >> > pls advide me
>> >> >> >
>> >> >> > TP
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>



Jul 22 '05 #16
tp

HI...

Thanks I receive error atleast noe as below

Error Type:
CDO.Message.1 (0x80070005)
Access is denied.
/intra/eemailtest.asp, line 26

Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Page:
GET /intra/eemailtest.asp
Time:
Tuesday, June 07, 2005, 6:04:17 PM

"Jeff Cochran" wrote:
On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
HI...

atlast we are proble
i have small busness server 2003 with exchange server 2003

I have write simple CDO email but i am receiving same error

"page canot found'

Error 500
"Internal server error"


Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Jeff
Thanks
TP

"Curt_C [MVP]" wrote:
Argh... you never said you got a "page can not be found" error.. .
ok..... lets start over.

First off, is that the actual error message? Turn off friendly error
messages first, to ensure.
Second, try a sample page with just the CDO stuff, to test that out without
all the other code, to find out whats going on.
Third, whats the server? Is it a Win2k, Win2k3, ?
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:E4******** *************** ***********@mic rosoft.com...
> HI...Thanks for reple me
>
>
> Let me explain in briff
>
> i have one on that for there is email button and i have write onclick
> event
> that is
>
> <input type="button"
> onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
> value="Email">
>
> so in emailform.asp
>
> i am retriving records from my table using querystring , upto this it
> works
> fine
> then display valuve in thable
>
> which i heve to assign to one variable like this
>
> <%
>
> Dim strEmailBody, objCDO,strEmail
> strEmail = Recordset1("ema il")
>
>
> strEmailBody ="<table width='660' height='36' border='1'>"
> strEmailBody = strEmailBody &"<tr>"
> strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
> class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
> strEmailBody = strEmailBody &"</tr>"
> strEmailBody = strEmailBody &" </table>"
>
> objCDO.From = "my domain email address"
> objCDO.To = strEmail
>
> objCDO.Subject = "Reminder"
> objCDO.HTMLBody = strEmailBody
>
> objCDO.Send
> Set objCDO = Nothing
> %>
>
>
> The above code works fine on my developement machine but on my server it
> gives me error page canot be displayed.
> If i take out CDO code as i mention earlier
>
> then it show me table with respected values from my table.
>
> the mail it seld not generating nothing in drop folder.
>
> if you have any idea pls let me know
>
> Thanks
>
> TP
>
>
>
> and then i have made table
>
> "Curt_C [MVP]" wrote:
>
>> huh? What does the page showing have to do with anything?
>>
>> If the email is put into the DROP folder then, as far as programming
>> goes,
>> its DONE.
>> From there SMTP takes over
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:CF******** *************** ***********@mic rosoft.com...
>> > HI..
>> >
>> > Thanks for reply
>> >
>> > i got your message but in my asp code if you discard cdo statement as
>> > follow
>> >
>> > ' Set objCDO = CreateObject("C DO.Message")
>> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >
>> > then it will show my page means it might be problem with cdosys as i
>> > was
>> > think
>> >
>> > can you me some idea
>> >
>> > Thanks
>> >
>> > Tp
>> >
>> >
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> If its getting to the DROP folder then its not a CDOSYS issue. Sounds
>> >> like
>> >> SMTP or Exchange is the issue...so you may not be in the right spot
>> >> (asp
>> >> group). Try poking around www.aspfaq.com for some pointers though.
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> > HI...
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > Y i have check drop folder it is there and i am using my domain
>> >> > email
>> >> > addrress in from field.
>> >> >
>> >> > It is even not generating email ..
>> >> > i have check the cdosys.dll the file is there.
>> >> >
>> >> > Is there any problem due to small business with exchange ?
>> >> >
>> >> > Pls help me
>> >> >
>> >> > thank
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> check the DROP folder, is it even making it in there?
>> >> >> check the FROM address, use one from YOUR domain.. you may have a
>> >> >> relay
>> >> >> issue.
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> > HI.....
>> >> >> >
>> >> >> > I have made simpale web site inside that i am generating email
>> >> >> > page
>> >> >> > which
>> >> >> > send form as email.
>> >> >> >
>> >> >> > i have setup small business server with Exchange server 2003 and
>> >> >> > i
>> >> >> > have
>> >> >> > hosted my website with this server.
>> >> >> >
>> >> >> > i can not generate email using following code while same code
>> >> >> > working
>> >> >> > with
>> >> >> > my developement XP machine installed SMTP service.
>> >> >> > The code is
>> >> >> >
>> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> > Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> > = "localhost"
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> > = 25
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> > = 2
>> >> >> >
>> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> > = 60
>> >> >> > oMailConfig.Fie lds.Update
>> >> >> >
>> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> > objCDO.To = strEmail
>> >> >> >
>> >> >> > objCDO.Subject = " Reminder"
>> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> > ' Send the message!
>> >> >> > objCDO.Send
>> >> >> > Set objCDO = Nothing
>> >> >> >
>> >> >> >
>> >> >> > Is there any problem with tis code with exchange server
>> >> >> > pls advide me
>> >> >> >
>> >> >> > TP
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #17
On Tue, 7 Jun 2005 18:09:01 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
Thanks I receive error atleast noe as below

Error Type:
CDO.Message. 1 (0x80070005)
Access is denied.
/intra/eemailtest.asp, line 26

Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Page:
GET /intra/eemailtest.asp

And the next step...

What is line 26? And the snippet it relates to?

Jeff

Time:
Tuesday, June 07, 2005, 6:04:17 PM

"Jeff Cochran" wrote:
On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
>HI...
>
>atlast we are proble
>i have small busness server 2003 with exchange server 2003
>
>I have write simple CDO email but i am receiving same error
>
>"page canot found'
>
>Error 500
>"Internal server error"


Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Jeff
>Thanks
>TP
>
>"Curt_C [MVP]" wrote:
>
>> Argh... you never said you got a "page can not be found" error.. .
>> ok..... lets start over.
>>
>> First off, is that the actual error message? Turn off friendly error
>> messages first, to ensure.
>> Second, try a sample page with just the CDO stuff, to test that out without
>> all the other code, to find out whats going on.
>> Third, whats the server? Is it a Win2k, Win2k3, ?
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:E4******** *************** ***********@mic rosoft.com...
>> > HI...Thanks for reple me
>> >
>> >
>> > Let me explain in briff
>> >
>> > i have one on that for there is email button and i have write onclick
>> > event
>> > that is
>> >
>> > <input type="button"
>> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> > value="Email">
>> >
>> > so in emailform.asp
>> >
>> > i am retriving records from my table using querystring , upto this it
>> > works
>> > fine
>> > then display valuve in thable
>> >
>> > which i heve to assign to one variable like this
>> >
>> > <%
>> >
>> > Dim strEmailBody, objCDO,strEmail
>> > strEmail = Recordset1("ema il")
>> >
>> >
>> > strEmailBody ="<table width='660' height='36' border='1'>"
>> > strEmailBody = strEmailBody &"<tr>"
>> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
>> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> > strEmailBody = strEmailBody &"</tr>"
>> > strEmailBody = strEmailBody &" </table>"
>> >
>> > objCDO.From = "my domain email address"
>> > objCDO.To = strEmail
>> >
>> > objCDO.Subject = "Reminder"
>> > objCDO.HTMLBody = strEmailBody
>> >
>> > objCDO.Send
>> > Set objCDO = Nothing
>> > %>
>> >
>> >
>> > The above code works fine on my developement machine but on my server it
>> > gives me error page canot be displayed.
>> > If i take out CDO code as i mention earlier
>> >
>> > then it show me table with respected values from my table.
>> >
>> > the mail it seld not generating nothing in drop folder.
>> >
>> > if you have any idea pls let me know
>> >
>> > Thanks
>> >
>> > TP
>> >
>> >
>> >
>> > and then i have made table
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> huh? What does the page showing have to do with anything?
>> >>
>> >> If the email is put into the DROP folder then, as far as programming
>> >> goes,
>> >> its DONE.
>> >> From there SMTP takes over
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> > HI..
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > i got your message but in my asp code if you discard cdo statement as
>> >> > follow
>> >> >
>> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >
>> >> > then it will show my page means it might be problem with cdosys as i
>> >> > was
>> >> > think
>> >> >
>> >> > can you me some idea
>> >> >
>> >> > Thanks
>> >> >
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> If its getting to the DROP folder then its not a CDOSYS issue. Sounds
>> >> >> like
>> >> >> SMTP or Exchange is the issue...so you may not be in the right spot
>> >> >> (asp
>> >> >> group). Try poking around www.aspfaq.com for some pointers though.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> > HI...
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > Y i have check drop folder it is there and i am using my domain
>> >> >> > email
>> >> >> > addrress in from field.
>> >> >> >
>> >> >> > It is even not generating email ..
>> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >
>> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >
>> >> >> > Pls help me
>> >> >> >
>> >> >> > thank
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> check the FROM address, use one from YOUR domain.. you may have a
>> >> >> >> relay
>> >> >> >> issue.
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI.....
>> >> >> >> >
>> >> >> >> > I have made simpale web site inside that i am generating email
>> >> >> >> > page
>> >> >> >> > which
>> >> >> >> > send form as email.
>> >> >> >> >
>> >> >> >> > i have setup small business server with Exchange server 2003 and
>> >> >> >> > i
>> >> >> >> > have
>> >> >> >> > hosted my website with this server.
>> >> >> >> >
>> >> >> >> > i can not generate email using following code while same code
>> >> >> >> > working
>> >> >> >> > with
>> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> > The code is
>> >> >> >> >
>> >> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> >> > Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> > = "localhost"
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> > = 25
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> > = 2
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> > = 60
>> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >
>> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> > objCDO.To = strEmail
>> >> >> >> >
>> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> > ' Send the message!
>> >> >> >> > objCDO.Send
>> >> >> >> > Set objCDO = Nothing
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> > pls advide me
>> >> >> >> >
>> >> >> >> > TP
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>



Jul 22 '05 #18
tp
Hi

It my line

objCDO.Send

thanks

tp
"Jeff Cochran" wrote:
On Tue, 7 Jun 2005 18:09:01 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
Thanks I receive error atleast noe as below

Error Type:
CDO.Message. 1 (0x80070005)
Access is denied.
/intra/eemailtest.asp, line 26

Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Page:
GET /intra/eemailtest.asp

And the next step...

What is line 26? And the snippet it relates to?

Jeff

Time:
Tuesday, June 07, 2005, 6:04:17 PM

"Jeff Cochran" wrote:
On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <tp@discussions .microsoft.com>
wrote:

>HI...
>
>atlast we are proble
>i have small busness server 2003 with exchange server 2003
>
>I have write simple CDO email but i am receiving same error
>
>"page canot found'
>
>Error 500
>"Internal server error"

Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Jeff

>Thanks
>TP
>
>"Curt_C [MVP]" wrote:
>
>> Argh... you never said you got a "page can not be found" error.. .
>> ok..... lets start over.
>>
>> First off, is that the actual error message? Turn off friendly error
>> messages first, to ensure.
>> Second, try a sample page with just the CDO stuff, to test that out without
>> all the other code, to find out whats going on.
>> Third, whats the server? Is it a Win2k, Win2k3, ?
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "tp" <tp@discussions .microsoft.com> wrote in message
>> news:E4******** *************** ***********@mic rosoft.com...
>> > HI...Thanks for reple me
>> >
>> >
>> > Let me explain in briff
>> >
>> > i have one on that for there is email button and i have write onclick
>> > event
>> > that is
>> >
>> > <input type="button"
>> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> > value="Email">
>> >
>> > so in emailform.asp
>> >
>> > i am retriving records from my table using querystring , upto this it
>> > works
>> > fine
>> > then display valuve in thable
>> >
>> > which i heve to assign to one variable like this
>> >
>> > <%
>> >
>> > Dim strEmailBody, objCDO,strEmail
>> > strEmail = Recordset1("ema il")
>> >
>> >
>> > strEmailBody ="<table width='660' height='36' border='1'>"
>> > strEmailBody = strEmailBody &"<tr>"
>> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><s pan
>> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> > strEmailBody = strEmailBody &"</tr>"
>> > strEmailBody = strEmailBody &" </table>"
>> >
>> > objCDO.From = "my domain email address"
>> > objCDO.To = strEmail
>> >
>> > objCDO.Subject = "Reminder"
>> > objCDO.HTMLBody = strEmailBody
>> >
>> > objCDO.Send
>> > Set objCDO = Nothing
>> > %>
>> >
>> >
>> > The above code works fine on my developement machine but on my server it
>> > gives me error page canot be displayed.
>> > If i take out CDO code as i mention earlier
>> >
>> > then it show me table with respected values from my table.
>> >
>> > the mail it seld not generating nothing in drop folder.
>> >
>> > if you have any idea pls let me know
>> >
>> > Thanks
>> >
>> > TP
>> >
>> >
>> >
>> > and then i have made table
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> huh? What does the page showing have to do with anything?
>> >>
>> >> If the email is put into the DROP folder then, as far as programming
>> >> goes,
>> >> its DONE.
>> >> From there SMTP takes over
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> > HI..
>> >> >
>> >> > Thanks for reply
>> >> >
>> >> > i got your message but in my asp code if you discard cdo statement as
>> >> > follow
>> >> >
>> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >
>> >> > then it will show my page means it might be problem with cdosys as i
>> >> > was
>> >> > think
>> >> >
>> >> > can you me some idea
>> >> >
>> >> > Thanks
>> >> >
>> >> > Tp
>> >> >
>> >> >
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> If its getting to the DROP folder then its not a CDOSYS issue. Sounds
>> >> >> like
>> >> >> SMTP or Exchange is the issue...so you may not be in the right spot
>> >> >> (asp
>> >> >> group). Try poking around www.aspfaq.com for some pointers though.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> > HI...
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > Y i have check drop folder it is there and i am using my domain
>> >> >> > email
>> >> >> > addrress in from field.
>> >> >> >
>> >> >> > It is even not generating email ..
>> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >
>> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >
>> >> >> > Pls help me
>> >> >> >
>> >> >> > thank
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> check the FROM address, use one from YOUR domain.. you may have a
>> >> >> >> relay
>> >> >> >> issue.
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI.....
>> >> >> >> >
>> >> >> >> > I have made simpale web site inside that i am generating email
>> >> >> >> > page
>> >> >> >> > which
>> >> >> >> > send form as email.
>> >> >> >> >
>> >> >> >> > i have setup small business server with Exchange server 2003 and
>> >> >> >> > i
>> >> >> >> > have
>> >> >> >> > hosted my website with this server.
>> >> >> >> >
>> >> >> >> > i can not generate email using following code while same code
>> >> >> >> > working
>> >> >> >> > with
>> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> > The code is
>> >> >> >> >
>> >> >> >> > Set objCDO = CreateObject("C DO.Message")
>> >> >> >> > Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> > = "localhost"
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> > = 25
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> > = 2
>> >> >> >> >
>> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> > = 60
>> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >
>> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> > objCDO.To = strEmail
>> >> >> >> >
>> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> > ' Send the message!
>> >> >> >> > objCDO.Send
>> >> >> >> > Set objCDO = Nothing
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> > pls advide me
>> >> >> >> >
>> >> >> >> > TP
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #19
And you said you are using a Domain Administrator account? The server is on
the Domain, right?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tp" <tp@discussions .microsoft.com> wrote in message
news:95******** *************** ***********@mic rosoft.com...
Hi

It my line

objCDO.Send

thanks

tp
"Jeff Cochran" wrote:
On Tue, 7 Jun 2005 18:09:01 -0700, "tp" <tp@discussions .microsoft.com>
wrote:
>Thanks I receive error atleast noe as below
>
>Error Type:
>CDO.Message. 1 (0x80070005)
>Access is denied.
>/intra/eemailtest.asp, line 26
>
>Browser Type:
>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
>
>
>Page:
>GET /intra/eemailtest.asp

And the next step...

What is line 26? And the snippet it relates to?

Jeff

>Time:
>Tuesday, June 07, 2005, 6:04:17 PM
>
>"Jeff Cochran" wrote:
>
>> On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <tp@discussions .microsoft.com>
>> wrote:
>>
>> >HI...
>> >
>> >atlast we are proble
>> >i have small busness server 2003 with exchange server 2003
>> >
>> >I have write simple CDO email but i am receiving same error
>> >
>> >"page canot found'
>> >
>> >Error 500
>> >"Internal server error"
>>
>> Start here:
>>
>> Why do I get a 500 Internal Server error for all ASP errors?
>> http://www.aspfaq.com/show.asp?id=2109
>>
>> Jeff
>>
>>
>>
>> >Thanks
>> >TP
>> >
>> >"Curt_C [MVP]" wrote:
>> >
>> >> Argh... you never said you got a "page can not be found" error.. .
>> >> ok..... lets start over.
>> >>
>> >> First off, is that the actual error message? Turn off friendly
>> >> error
>> >> messages first, to ensure.
>> >> Second, try a sample page with just the CDO stuff, to test that out
>> >> without
>> >> all the other code, to find out whats going on.
>> >> Third, whats the server? Is it a Win2k, Win2k3, ?
>> >>
>> >>
>> >> --
>> >> Curt Christianson
>> >> Site & Scripts: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> news:E4******** *************** ***********@mic rosoft.com...
>> >> > HI...Thanks for reple me
>> >> >
>> >> >
>> >> > Let me explain in briff
>> >> >
>> >> > i have one on that for there is email button and i have write
>> >> > onclick
>> >> > event
>> >> > that is
>> >> >
>> >> > <input type="button"
>> >> > onClick="javasc ript:window.ope n('emailform.as p?RDNO=<%=(Reco rdset1__MMColPa ram)%>')"
>> >> > value="Email">
>> >> >
>> >> > so in emailform.asp
>> >> >
>> >> > i am retriving records from my table using querystring , upto
>> >> > this it
>> >> > works
>> >> > fine
>> >> > then display valuve in thable
>> >> >
>> >> > which i heve to assign to one variable like this
>> >> >
>> >> > <%
>> >> >
>> >> > Dim strEmailBody, objCDO,strEmail
>> >> > strEmail = Recordset1("ema il")
>> >> >
>> >> >
>> >> > strEmailBody ="<table width='660' height='36' border='1'>"
>> >> > strEmailBody = strEmailBody &"<tr>"
>> >> > strEmailBody = strEmailBody &"<td width='71'><div
>> >> > align='left'><s pan
>> >> > class='style8'> &nbsp;"& Recordset1("rdn o") &"</td>"
>> >> > strEmailBody = strEmailBody &"</tr>"
>> >> > strEmailBody = strEmailBody &" </table>"
>> >> >
>> >> > objCDO.From = "my domain email address"
>> >> > objCDO.To = strEmail
>> >> >
>> >> > objCDO.Subject = "Reminder"
>> >> > objCDO.HTMLBody = strEmailBody
>> >> >
>> >> > objCDO.Send
>> >> > Set objCDO = Nothing
>> >> > %>
>> >> >
>> >> >
>> >> > The above code works fine on my developement machine but on my
>> >> > server it
>> >> > gives me error page canot be displayed.
>> >> > If i take out CDO code as i mention earlier
>> >> >
>> >> > then it show me table with respected values from my table.
>> >> >
>> >> > the mail it seld not generating nothing in drop folder.
>> >> >
>> >> > if you have any idea pls let me know
>> >> >
>> >> > Thanks
>> >> >
>> >> > TP
>> >> >
>> >> >
>> >> >
>> >> > and then i have made table
>> >> >
>> >> > "Curt_C [MVP]" wrote:
>> >> >
>> >> >> huh? What does the page showing have to do with anything?
>> >> >>
>> >> >> If the email is put into the DROP folder then, as far as
>> >> >> programming
>> >> >> goes,
>> >> >> its DONE.
>> >> >> From there SMTP takes over
>> >> >>
>> >> >> --
>> >> >> Curt Christianson
>> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> Blog: http://blog.Darkfalz.com
>> >> >>
>> >> >>
>> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> news:CF******** *************** ***********@mic rosoft.com...
>> >> >> > HI..
>> >> >> >
>> >> >> > Thanks for reply
>> >> >> >
>> >> >> > i got your message but in my asp code if you discard cdo
>> >> >> > statement as
>> >> >> > follow
>> >> >> >
>> >> >> > ' Set objCDO = CreateObject("C DO.Message")
>> >> >> > ' Set oMailConfig = Server.CreateOb ject ("CDO.Configura tion")
>> >> >> >
>> >> >> > then it will show my page means it might be problem with
>> >> >> > cdosys as i
>> >> >> > was
>> >> >> > think
>> >> >> >
>> >> >> > can you me some idea
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> > Tp
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >
>> >> >> >> If its getting to the DROP folder then its not a CDOSYS
>> >> >> >> issue. Sounds
>> >> >> >> like
>> >> >> >> SMTP or Exchange is the issue...so you may not be in the
>> >> >> >> right spot
>> >> >> >> (asp
>> >> >> >> group). Try poking around www.aspfaq.com for some pointers
>> >> >> >> though.
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Curt Christianson
>> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >>
>> >> >> >>
>> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> news:3A******** *************** ***********@mic rosoft.com...
>> >> >> >> > HI...
>> >> >> >> >
>> >> >> >> > Thanks for reply
>> >> >> >> >
>> >> >> >> > Y i have check drop folder it is there and i am using my
>> >> >> >> > domain
>> >> >> >> > email
>> >> >> >> > addrress in from field.
>> >> >> >> >
>> >> >> >> > It is even not generating email ..
>> >> >> >> > i have check the cdosys.dll the file is there.
>> >> >> >> >
>> >> >> >> > Is there any problem due to small business with exchange ?
>> >> >> >> >
>> >> >> >> > Pls help me
>> >> >> >> >
>> >> >> >> > thank
>> >> >> >> > Tp
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "Curt_C [MVP]" wrote:
>> >> >> >> >
>> >> >> >> >> check the DROP folder, is it even making it in there?
>> >> >> >> >> check the FROM address, use one from YOUR domain.. you may
>> >> >> >> >> have a
>> >> >> >> >> relay
>> >> >> >> >> issue.
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Curt Christianson
>> >> >> >> >> Site & Scripts: http://www.Darkfalz.com
>> >> >> >> >> Blog: http://blog.Darkfalz.com
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> "tp" <tp@discussions .microsoft.com> wrote in message
>> >> >> >> >> news:F1******** *************** ***********@mic rosoft.com...
>> >> >> >> >> > HI.....
>> >> >> >> >> >
>> >> >> >> >> > I have made simpale web site inside that i am generating
>> >> >> >> >> > email
>> >> >> >> >> > page
>> >> >> >> >> > which
>> >> >> >> >> > send form as email.
>> >> >> >> >> >
>> >> >> >> >> > i have setup small business server with Exchange server
>> >> >> >> >> > 2003 and
>> >> >> >> >> > i
>> >> >> >> >> > have
>> >> >> >> >> > hosted my website with this server.
>> >> >> >> >> >
>> >> >> >> >> > i can not generate email using following code while same
>> >> >> >> >> > code
>> >> >> >> >> > working
>> >> >> >> >> > with
>> >> >> >> >> > my developement XP machine installed SMTP service.
>> >> >> >> >> > The code is
>> >> >> >> >> >
>> >> >> >> >> > Set objCDO =
>> >> >> >> >> > CreateObject("C DO.Message")
>> >> >> >> >> > Set oMailConfig = Server.CreateOb ject
>> >> >> >> >> > ("CDO.Configura tion")
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserver")
>> >> >> >> >> > = "localhost"
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" )
>> >> >> >> >> > = 25
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/sendusing")
>> >> >> >> >> > = 2
>> >> >> >> >> >
>> >> >> >> >> > oMailConfig.Fie lds("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout")
>> >> >> >> >> > = 60
>> >> >> >> >> > oMailConfig.Fie lds.Update
>> >> >> >> >> >
>> >> >> >> >> > Set objCDO.Configur ation = oMailConfig
>> >> >> >> >> > objCDO.From = "te**@yahoo.com "
>> >> >> >> >> > objCDO.To = strEmail
>> >> >> >> >> >
>> >> >> >> >> > objCDO.Subject = " Reminder"
>> >> >> >> >> > objCDO.HTMLBody = strEmailBody
>> >> >> >> >> > 'objCDO.BodyFor mat = 0 ' CdoBodyFormatHT ML
>> >> >> >> >> > 'objCDO.MailFor mat = 0 ' CdoMailFormatMi me
>> >> >> >> >> > ' Send the message!
>> >> >> >> >> > objCDO.Send
>> >> >> >> >> > Set objCDO = Nothing
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Is there any problem with tis code with exchange server
>> >> >> >> >> > pls advide me
>> >> >> >> >> >
>> >> >> >> >> > TP
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>


Jul 22 '05 #20

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

Similar topics

2
2451
by: dmalhotr2001 | last post by:
Hi, I'm using windows 2003 with asp. However I'm having problems sending email using the cdosys object. My code is below and I don't believe its the code but on the send command. <% dim sch
9
2704
by: tshad | last post by:
This is a problem that we saw before on our asp site, but don't know how to fix it. We are seeing it on our .net site also. We have our email sending from our Windows 2003 server with exchange fine, unless we send to an alias. It never gets there. I can send directly and it works fine and the CDOSYS works fine to a non-alias account.
14
13434
by: Neil Ginsberg | last post by:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to "Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works fine, both on my PC and on another PC. However, on another PC that the database was installed on, the user is getting the message, "The project contains a missing or broken reference to the file 'CDO.DLL' version 1.21." However, I don't have a reference to cdo.dll; my reference is to cdosys.dll....
0
1421
by: alina | last post by:
I'm using CDOSYS to send an e-mail with both text and html included in the e-mail I'm using the following code to send the e-mail to an SMTP server.If I open the e-mail with Outlook Express 6 is working fine.If the text only option is enabled I get only the text part of the e-mail.If I open this e-mail with Outlook 2003 I get the text rendered from the html which is looking very ugly.I've tried to use another code as well, using bodyparts and I...
4
12240
by: rschaeferhig | last post by:
I have an ASP page that uses CDOSYS to send a simple HTML format email with a PDF attachment. When I open the PDF attached to the email it shows up as a blank page. I log into the web server console and open the same PDF in the source directory and it opens fine. I run a binary comparison of the source and attached files and there's a difference: one byte, x'2E' is missing at offset x'0231'. If I save the attached file and use a hex editor...
0
3266
by: Atenza | last post by:
Hi all, I develop an VB6 program to send email by using CDOSYS.DLL. It works fine as follow: Dim iMsg As New CDO.Message Dim iDsrc As CDO.IDataSource Set iDsrc = iMsg ' (QueryInterface) Dim iConf As New CDO.Configuration Dim Flds As ADODB.Fields
8
7552
by: Akbur | last post by:
Dear all, I'm having major issues sending an email from my ASP.NET app. I'm getting a "Could not create 'CDO.Message' object". When I did a search for cdosys.dll in \win_location\system32, I could not find it. So I copied it from another Windows 2003 server, where it did exist. Another dependant file was missing too (inetcomm.dll).
4
7217
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am working on a program that gets mail messages from the default SMTP server with iis 6.0 on windows server 2003. I am using the cdosys.dll in the system32 directory. The reference Name is "Microsoft CDO for Windows 2000 Library". On the machine there is a CDO.dll in the Program Files\Common Files\System\MSMAPI\1033 directory. The question is which one of these is the current dll. I also wonder if there is better way to access...
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10408
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10426
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10141
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9225
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5707
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.