| Home | Forums | Reviews | Guides | Newsgroups | Register | Search |
![]() |
| Thread Tools |
| tp |
|
|
|
| |
|
tp
Guest
Posts: n/a
|
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" <> wrote in message > news:F1BAE4C5-0E8D-46DE-9006-... > > 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("CDO.Message") > > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > > > > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > > = "localhost" > > > > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > > = 25 > > > > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > > = 2 > > > > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > > = 60 > > oMailConfig.Fields.Update > > > > Set objCDO.Configuration = oMailConfig > > objCDO.From = "" > > objCDO.To = strEmail > > > > objCDO.Subject = " Reminder" > > objCDO.HTMLBody = strEmailBody > > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > > ' Send the message! > > objCDO.Send > > Set objCDO = Nothing > > > > > > Is there any problem with tis code with exchange server > > pls advide me > > > > TP > > > > > |
|
|
|
|
|||
|
|||
| tp |
|
|
|
| |
|
tp
Guest
Posts: n/a
|
HI..
Thanks for reply i got your message but in my asp code if you discard cdo statement as follow ' Set objCDO = CreateObject("CDO.Message") ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") 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" <> wrote in message > news:3A053AD4-4AC9-4721-8097-... > > 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" <> wrote in message > >> news:F1BAE4C5-0E8D-46DE-9006-... > >> > 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("CDO.Message") > >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> > > >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> > = "localhost" > >> > > >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> > = 25 > >> > > >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> > = 2 > >> > > >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> > = 60 > >> > oMailConfig.Fields.Update > >> > > >> > Set objCDO.Configuration = oMailConfig > >> > objCDO.From = "" > >> > objCDO.To = strEmail > >> > > >> > objCDO.Subject = " Reminder" > >> > objCDO.HTMLBody = strEmailBody > >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> > ' Send the message! > >> > objCDO.Send > >> > Set objCDO = Nothing > >> > > >> > > >> > Is there any problem with tis code with exchange server > >> > pls advide me > >> > > >> > TP > >> > > >> > >> > >> > > > |
|
|
|
|
|||
|
|||
| tp |
|
tp
Guest
Posts: n/a
|
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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" 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("email") strEmailBody ="<table width='660' height='36' border='1'>" strEmailBody = strEmailBody &"<tr>" strEmailBody = strEmailBody &"<td width='71'><div align='left'><span class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > news:CF9FCDD9-1B68-4BE0-8029-... > > HI.. > > > > Thanks for reply > > > > i got your message but in my asp code if you discard cdo statement as > > follow > > > > ' Set objCDO = CreateObject("CDO.Message") > > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > > > > 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" <> wrote in message > >> news:3A053AD4-4AC9-4721-8097-... > >> > 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" <> wrote in message > >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> > 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("CDO.Message") > >> >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> > > >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> > = "localhost" > >> >> > > >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> > = 25 > >> >> > > >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> > = 2 > >> >> > > >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> > = 60 > >> >> > oMailConfig.Fields.Update > >> >> > > >> >> > Set objCDO.Configuration = oMailConfig > >> >> > objCDO.From = "" > >> >> > objCDO.To = strEmail > >> >> > > >> >> > objCDO.Subject = " Reminder" > >> >> > objCDO.HTMLBody = strEmailBody > >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> >> > ' Send the message! > >> >> > objCDO.Send > >> >> > Set objCDO = Nothing > >> >> > > >> >> > > >> >> > Is there any problem with tis code with exchange server > >> >> > pls advide me > >> >> > > >> >> > TP > >> >> > > >> >> > >> >> > >> >> > >> > >> > >> > > > |
|
|
|
|
|||
|
|||
| tp |
|
tp
Guest
Posts: n/a
|
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" <> wrote in message > news:E48DC983-98EB-4D47-9926-... > > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" > > 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("email") > > > > > > strEmailBody ="<table width='660' height='36' border='1'>" > > strEmailBody = strEmailBody &"<tr>" > > strEmailBody = strEmailBody &"<td width='71'><div align='left'><span > > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > >> news:CF9FCDD9-1B68-4BE0-8029-... > >> > HI.. > >> > > >> > Thanks for reply > >> > > >> > i got your message but in my asp code if you discard cdo statement as > >> > follow > >> > > >> > ' Set objCDO = CreateObject("CDO.Message") > >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> > > >> > 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" <> wrote in message > >> >> news:3A053AD4-4AC9-4721-8097-... > >> >> > HI... > >> >> > > >> >> > Thanks for reply > >> >> > > >> >> > Y i have check drop folder it is there and i am using my domain > >> >> > 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" <> wrote in message > >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> >> > 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("CDO.Message") > >> >> >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> >> > > >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> >> > = "localhost" > >> >> >> > > >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> >> > = 25 > >> >> >> > > >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> >> > = 2 > >> >> >> > > >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> >> > = 60 > >> >> >> > oMailConfig.Fields.Update > >> >> >> > > >> >> >> > Set objCDO.Configuration = oMailConfig > >> >> >> > objCDO.From = "" > >> >> >> > objCDO.To = strEmail > >> >> >> > > >> >> >> > objCDO.Subject = " Reminder" > >> >> >> > objCDO.HTMLBody = strEmailBody > >> >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> >> >> > ' Send the message! > >> >> >> > objCDO.Send > >> >> >> > Set objCDO = Nothing > >> >> >> > > >> >> >> > > >> >> >> > Is there any problem with tis code with exchange server > >> >> >> > pls advide me > >> >> >> > > >> >> >> > TP > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > >> > >> > > > |
|
|
|
|
|||
|
|||
| tp |
|
tp
Guest
Posts: n/a
|
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" <> wrote in message > news:18E48CDF-1138-42B7-ADAC-... > > 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" <> wrote in message > >> news:E48DC983-98EB-4D47-9926-... > >> > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" > >> > 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("email") > >> > > >> > > >> > strEmailBody ="<table width='660' height='36' border='1'>" > >> > strEmailBody = strEmailBody &"<tr>" > >> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><span > >> > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > >> >> news:CF9FCDD9-1B68-4BE0-8029-... > >> >> > HI.. > >> >> > > >> >> > Thanks for reply > >> >> > > >> >> > i got your message but in my asp code if you discard cdo statement > >> >> > as > >> >> > follow > >> >> > > >> >> > ' Set objCDO = CreateObject("CDO.Message") > >> >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> > > >> >> > 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" <> wrote in message > >> >> >> news:3A053AD4-4AC9-4721-8097-... > >> >> >> > HI... > >> >> >> > > >> >> >> > Thanks for reply > >> >> >> > > >> >> >> > Y i have check drop folder it is there and i am using my domain > >> >> >> > 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" <> wrote in message > >> >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> >> >> > 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("CDO.Message") > >> >> >> >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> >> >> > = "localhost" > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> >> >> > = 25 > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> >> >> > = 2 > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> >> >> > = 60 > >> >> >> >> > oMailConfig.Fields.Update > >> >> >> >> > > >> >> >> >> > Set objCDO.Configuration = oMailConfig > >> >> >> >> > objCDO.From = "" > >> >> >> >> > objCDO.To = strEmail > >> >> >> >> > > >> >> >> >> > objCDO.Subject = " Reminder" > >> >> >> >> > objCDO.HTMLBody = strEmailBody > >> >> >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> >> >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> >> >> >> > ' Send the message! > >> >> >> >> > objCDO.Send > >> >> >> >> > Set objCDO = Nothing > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > Is there any problem with tis code with exchange server > >> >> >> >> > pls advide me > >> >> >> >> > > >> >> >> >> > TP > >> >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > >> > >> > > > |
|
|
|
|
|||
|
|||
| tp |
|
tp
Guest
Posts: n/a
|
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" <> wrote in message > news:21B56E31-CA5C-4A53-9EF0-... > > 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" <> wrote in message > >> news:18E48CDF-1138-42B7-ADAC-... > >> > 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" <> wrote in message > >> >> news:E48DC983-98EB-4D47-9926-... > >> >> > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" > >> >> > 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("email") > >> >> > > >> >> > > >> >> > strEmailBody ="<table width='660' height='36' border='1'>" > >> >> > strEmailBody = strEmailBody &"<tr>" > >> >> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><span > >> >> > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > >> >> >> news:CF9FCDD9-1B68-4BE0-8029-... > >> >> >> > HI.. > >> >> >> > > >> >> >> > Thanks for reply > >> >> >> > > >> >> >> > i got your message but in my asp code if you discard cdo > >> >> >> > statement > >> >> >> > as > >> >> >> > follow > >> >> >> > > >> >> >> > ' Set objCDO = CreateObject("CDO.Message") > >> >> >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> >> > > >> >> >> > 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" <> wrote in message > >> >> >> >> news:3A053AD4-4AC9-4721-8097-... > >> >> >> >> > HI... > >> >> >> >> > > >> >> >> >> > Thanks for reply > >> >> >> >> > > >> >> >> >> > Y i have check drop folder it is there and i am using my > >> >> >> >> > domain > >> >> >> >> > 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" <> wrote in message > >> >> >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> >> >> >> > HI..... > >> >> >> >> >> > > >> >> >> >> >> > I have made simpale web site inside that i am generating > >> >> >> >> >> > 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("CDO.Message") > >> >> >> >> >> > Set oMailConfig = Server.CreateObject > >> >> >> >> >> > ("CDO.Configuration") > >> >> >> >> >> > > >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> >> >> >> > = "localhost" > >> >> >> >> >> > > >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> >> >> >> > = 25 > >> >> >> >> >> > > >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> >> >> >> > = 2 > >> >> >> >> >> > > >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> >> >> >> > = 60 > >> >> >> >> >> > oMailConfig.Fields.Update > >> >> >> >> >> > > >> >> >> >> >> > Set objCDO.Configuration = oMailConfig > >> >> >> >> >> > objCDO.From = "" > >> >> >> >> >> > objCDO.To = strEmail > >> >> >> >> >> > > >> >> >> >> >> > objCDO.Subject = " Reminder" > >> >> >> >> >> > objCDO.HTMLBody = strEmailBody > >> >> >> >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> >> >> >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> >> >> >> >> > ' Send the message! > >> >> >> >> >> > objCDO.Send > >> >> >> >> >> > Set objCDO = Nothing > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > Is there any problem with tis code with exchange server > >> >> >> >> >> > pls advide me > >> >> >> >> >> > > >> >> >> >> >> > TP > >> >> >> >> >> > > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> |
|
|
|
|
|||
|
|||
| tp |
|
tp
Guest
Posts: n/a
|
hi..
I am using following code <% Dim strEmailBody, objCDO,strEmail,iConf,Flds Set objCDO = CreateObject("CDO.Message") Set iConf = CreateObject("CDO.Configuration") Set Flds = iConf.Fields Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 3 Flds("http://schemas.microsoft.com/cdo/configuration/user") = "my domain user" Flds("http://schemas.microsoft.com/cdo/configuration/password") = "my password" Flds.Update Set objCDO.Configuration = 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" <> wrote in message > news:F7D220E4-24FD-429F-93F7-... > > 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" <> wrote in message > >> news:21B56E31-CA5C-4A53-9EF0-... > >> > 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" <> wrote in message > >> >> news:18E48CDF-1138-42B7-ADAC-... > >> >> > 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" <> wrote in message > >> >> >> news:E48DC983-98EB-4D47-9926-... > >> >> >> > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" > >> >> >> > 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("email") > >> >> >> > > >> >> >> > > >> >> >> > strEmailBody ="<table width='660' height='36' border='1'>" > >> >> >> > strEmailBody = strEmailBody &"<tr>" > >> >> >> > strEmailBody = strEmailBody &"<td width='71'><div > >> >> >> > align='left'><span > >> >> >> > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > >> >> >> >> news:CF9FCDD9-1B68-4BE0-8029-... > >> >> >> >> > HI.. > >> >> >> >> > > >> >> >> >> > Thanks for reply > >> >> >> >> > > >> >> >> >> > i got your message but in my asp code if you discard cdo > >> >> >> >> > statement > >> >> >> >> > as > >> >> >> >> > follow > >> >> >> >> > > >> >> >> >> > ' Set objCDO = CreateObject("CDO.Message") > >> >> >> >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> >> >> > > >> >> >> >> > 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" <> wrote in message > >> >> >> >> >> news:3A053AD4-4AC9-4721-8097-... > >> >> >> >> >> > HI... > >> >> >> >> >> > > >> >> >> >> >> > Thanks for reply > >> >> >> >> >> > > >> >> >> >> >> > Y i have check drop folder it is there and i am using my > >> >> >> >> >> > domain > >> >> >> >> >> > 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" <> wrote in message > >> >> >> >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> >> >> >> >> > HI..... > >> >> >> >> >> >> > > >> >> >> >> >> >> > I have made simpale web site inside that i am generating > >> >> >> >> >> >> > 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("CDO.Message") > >> >> >> >> >> >> > Set oMailConfig = Server.CreateObject > >> >> >> >> >> >> > ("CDO.Configuration") > >> >> >> >> >> >> > > >> >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> >> >> >> >> > = "localhost" > >> >> >> >> >> >> > > >> >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> >> >> >> >> > = 25 > >> >> >> >> >> >> > > >> >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> >> >> >> >> > = 2 > >> >> >> >> >> >> > > >> >> >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> >> >> >> >> > = 60 > >> >> >> >> >> >> > oMailConfig.Fields.Update |
|
|
|
|
|||
|
|||
| tp |
|
Jeff Cochran
Guest
Posts: n/a
|
On Mon, 6 Jun 2005 23:27:04 -0700, "tp" <>
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" <> wrote in message >> news:E48DC983-98EB-4D47-9926-... >> > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" >> > 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("email") >> > >> > >> > strEmailBody ="<table width='660' height='36' border='1'>" >> > strEmailBody = strEmailBody &"<tr>" >> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><span >> > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message >> >> news:CF9FCDD9-1B68-4BE0-8029-... >> >> > HI.. >> >> > >> >> > Thanks for reply >> >> > >> >> > i got your message but in my asp code if you discard cdo statement as >> >> > follow >> >> > >> >> > ' Set objCDO = CreateObject("CDO.Message") >> >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") >> >> > >> >> > 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" <> wrote in message >> >> >> news:3A053AD4-4AC9-4721-8097-... >> >> >> > HI... >> >> >> > >> >> >> > Thanks for reply >> >> >> > >> >> >> > Y i have check drop folder it is there and i am using my domain >> >> >> > 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" <> wrote in message >> >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... >> >> >> >> > 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("CDO.Message") >> >> >> >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") >> >> >> >> > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") >> >> >> >> > = "localhost" >> >> >> >> > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") >> >> >> >> > = 25 >> >> >> >> > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") >> >> >> >> > = 2 >> >> >> >> > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") >> >> >> >> > = 60 >> >> >> >> > oMailConfig.Fields.Update >> >> >> >> > >> >> >> >> > Set objCDO.Configuration = oMailConfig >> >> >> >> > objCDO.From = "" >> >> >> >> > objCDO.To = strEmail >> >> >> >> > >> >> >> >> > objCDO.Subject = " Reminder" >> >> >> >> > objCDO.HTMLBody = strEmailBody >> >> >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML >> >> >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime >> >> >> >> > ' Send the message! >> >> >> >> > objCDO.Send >> >> >> >> > Set objCDO = Nothing >> >> >> >> > >> >> >> >> > >> >> >> >> > Is there any problem with tis code with exchange server >> >> >> >> > pls advide me >> >> >> >> > >> >> >> >> > TP >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> |
|
|
|
|
|||
|
|||
| Jeff Cochran |
|
tp
Guest
Posts: n/a
|
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" <> > 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" <> wrote in message > >> news:E48DC983-98EB-4D47-9926-... > >> > 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="javascript:window.open('emailform.asp?RDN O=<%=(Recordset1__MMColParam)%>')" > >> > 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("email") > >> > > >> > > >> > strEmailBody ="<table width='660' height='36' border='1'>" > >> > strEmailBody = strEmailBody &"<tr>" > >> > strEmailBody = strEmailBody &"<td width='71'><div align='left'><span > >> > class='style8'> "& Recordset1("rdno") &"</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" <> wrote in message > >> >> news:CF9FCDD9-1B68-4BE0-8029-... > >> >> > HI.. > >> >> > > >> >> > Thanks for reply > >> >> > > >> >> > i got your message but in my asp code if you discard cdo statement as > >> >> > follow > >> >> > > >> >> > ' Set objCDO = CreateObject("CDO.Message") > >> >> > ' Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> > > >> >> > 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" <> wrote in message > >> >> >> news:3A053AD4-4AC9-4721-8097-... > >> >> >> > HI... > >> >> >> > > >> >> >> > Thanks for reply > >> >> >> > > >> >> >> > Y i have check drop folder it is there and i am using my domain > >> >> >> > 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" <> wrote in message > >> >> >> >> news:F1BAE4C5-0E8D-46DE-9006-... > >> >> >> >> > 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("CDO.Message") > >> >> >> >> > Set oMailConfig = Server.CreateObject ("CDO.Configuration") > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") > >> >> >> >> > = "localhost" > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") > >> >> >> >> > = 25 > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") > >> >> >> >> > = 2 > >> >> >> >> > > >> >> >> >> > oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") > >> >> >> >> > = 60 > >> >> >> >> > oMailConfig.Fields.Update > >> >> >> >> > > >> >> >> >> > Set objCDO.Configuration = oMailConfig > >> >> >> >> > objCDO.From = "" > >> >> >> >> > objCDO.To = strEmail > >> >> >> >> > > >> >> >> >> > objCDO.Subject = " Reminder" > >> >> >> >> > objCDO.HTMLBody = strEmailBody > >> >> >> >> > 'objCDO.BodyFormat = 0 ' CdoBodyFormatHTML > >> >> >> >> > 'objCDO.MailFormat = 0 ' CdoMailFormatMime > >> >> >> >> > ' Send the message! > >> >> >> >> > objCDO.Send > >> >> >> >> > Set objCDO = Nothing > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > Is there any problem with tis code with exchange server > >> >> >> >> > pls advide me > >> >> >> >> > > >> >> >> >> > TP > >> >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > >> > >> > > |
|
|
|
|
|||
|
|||
| tp |
|
|
|
| |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can Wireless Security and VPN access Coexist on SBS 2003? | Ernie | Wireless Networking | 0 | 09-14-2005 01:45 PM |
| VPN (2003 sbs vs Cisco) | Matt Dwyer | Cisco | 0 | 11-04-2004 01:00 AM |
| Training SBS Windows Server 2003 | April | Microsoft Certification | 1 | 07-15-2004 01:28 PM |
| remote workspace sbs 2003 standart | =?Utf-8?B?Y2hpbmN1c2E=?= | Microsoft Certification | 0 | 06-10-2004 02:11 AM |
| SBS 2000 upgrade to SBS std or premium 2003 | =?Utf-8?B?amlsbGJvYg==?= | Microsoft Certification | 1 | 04-19-2004 05:18 PM |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc..
SEO by vBSEO ©2010, Crawlability, Inc. |




