it said Email mail not sent.
--- In [email protected], "Dan Powderhill" <[EMAIL PROTECTED]> wrote: > What's the result of your new code, is it telling you it's been sent, or not? > > Dan > > ________________________________ > > From: [email protected] on behalf of kejeckam > Sent: Fri 03/06/2005 07:05 > To: [email protected] > Subject: [AspClassicAnyQuestionIsOk] Re: email bit real urgent > > > I've even edited the code to reflect like below. please what can be > wrong? > > <% > Option Explicit > > Dim objNewMail > > > Set objNewMail = Server.CreateObject("CDONTS.NewMail") > > > > objNewMail.From = "[EMAIL PROTECTED]" > objNewMail.To = "[EMAIL PROTECTED]" > > > objNewMail.Subject = "This is a test Mail" > objNewMail.Body = "This is the Body text of this test mail." > > if objNewMail.Send then > > Response.Write "Email has been sent" > else > response.write "Email wasn't sent" > end if > > Set objNewMail = Nothing > > > %> > > > > > > > > > > --- In [email protected], "Dan Powderhill" > <[EMAIL PROTECTED]> wrote: > > Looking at the HTML output by your page, there's nothing to > display if > > it executes the code successfully. > > > > Dan > > > > ________________________________ > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of > Mark E > > Sent: 02 June 2005 16:06 > > To: [email protected] > > Subject: Re: [AspClassicAnyQuestionIsOk] Re: email bit > > > > > > What do you mean by the page is not displayed? > > > > Mark > > > > kejeckam <[EMAIL PROTECTED]> wrote: > > Still doesn't work. No errors but page is not displayed > > > > > > > > > > --- In [email protected], Mark E > > <[EMAIL PROTECTED]> wrote: > > > Are you getting any errors? > > > > > > Not sure if it matters, but try "Server." in front of your > > createobject: > > > > > > Set objMail = Server.CreateObject("CDONTS.NewMail") > > > > > > Mark > > > > > > > > > kejeckam <[EMAIL PROTECTED]> wrote: > > > Please am doing an email page for my app and I've tested the app > > by > > > uploading a page with the info below but IU can't get any > results > > > even though the host documentation says it supports CDO and ASP. > > Do > > > they still need to do any server settings to make the mails go > or > > am > > > I doing something wrong. please I need an urgent reply > > > Kene > > > > > > > > > > > > > > > <%@ Language=VBScript %> > > > <% Option Explicit %> > > > <% Response.Buffer = True %> > > > > > > > > > <html> > > > > > > <head> > > > <title> Test Response </title> > > > </head> > > > > > > <body> > > > <% > > > > > > Dim objMail > > > Set objMail = CreateObject("CDONTS.NewMail") > > > objMail.From= "[EMAIL PROTECTED]" > > > objMail.To= "[EMAIL PROTECTED]" > > > > > > objMail.Subject="Testing ASP mail" > > > objMail.Body= "ThankGod for his mercies" > > > objMail.Send > > > Set objMail=nothing > > > %> > > > </body> > > > > > > </html> > > > > > > > > > > > > > > > > > > --------------------------------- > > > Yahoo! Groups Links > > > > > > To visit your group on the web, go to: > > > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > > > > > To unsubscribe from this group, send an email to: > > > [EMAIL PROTECTED] > > > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service. > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > --------------------------------- > > Yahoo! Groups Links > > > > To visit your group on the web, go to: > > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > > > To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service. > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > ________________________________ > > > > Yahoo! Groups Links > > > > > > * To visit your group on the web, go to: > > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED] > subject=Un > > subscribe> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/> . > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > ________________________________ > > Yahoo! Groups Links > > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . > > > > > [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
