|
 |
asp_cdo thread: newbie question regarding CDONTS
Message #1 by "Taher Moiyed" <taherm@f...> on Wed, 4 Jul 2001 12:18:23
|
|
hello freinds,
i bought profesional ASP and am on 22nd chapter. i have downloadedthe code
for it and have setup virtual site on my win2k server.
when ever i try to send an email to my account it says that teh mail is
sent but i cant recv any email. i think my smtp server is not setup , how
can i do this.
if smtp is not setup then how am i getting emails from other poeple into
my mail account??
secondly i tried using an email component called InaEmailSend supplied by
componentsource.com and it works fine. therefore if smtp server is not
setup then how can this componet work.
i have used the following script in my asp page
dim objSendMail
set objSendMail = CreateObject("CDONTS.NewMail")
' Set all the properties on the NewMail object using the values
from the QueryString
objSendMail.From = Request.QueryString("SendFrom")
objSendMail.To = Request.QueryString("SendTo")
objSendMail.Cc = Request.QueryString("SendCC")
objSendMail.Bcc = Request.QueryString("SendBCC")
objSendMail.Importance = Request.QueryString("SelImportance")
objSendMail.Subject = Request.QueryString("Subject")
objSendMail.Body = Request.QueryString("BodyText")
'Send the message
objSendMail.Send
'Set the objSendMail to nothing, free its resources
set objSendMail = nothing
Message #2 by "SuperMan" <omaima62@h...> on Wed, 4 Jul 2001 12:27:09
|
|
Hi..
have you setup the smart host in your SMTP server and mentioned the
correct server name in that fields. Just make sure that you didnt
mentioned the IP address of the Server. if so then replace that with the
server name.
take care
SuperMan
> hello freinds,
> i bought profesional ASP and am on 22nd chapter. i have downloadedthe
code
> for it and have setup virtual site on my win2k server.
>
> when ever i try to send an email to my account it says that teh mail is
> sent but i cant recv any email. i think my smtp server is not setup ,
how
> can i do this.
>
> if smtp is not setup then how am i getting emails from other poeple into
> my mail account??
>
> secondly i tried using an email component called InaEmailSend supplied
by
> componentsource.com and it works fine. therefore if smtp server is not
> setup then how can this componet work.
>
> i have used the following script in my asp page
> dim objSendMail
> set objSendMail = CreateObject("CDONTS.NewMail")
>
> ' Set all the properties on the NewMail object using the values
> from the QueryString
> objSendMail.From = Request.QueryString("SendFrom")
> objSendMail.To = Request.QueryString("SendTo")
> objSendMail.Cc = Request.QueryString("SendCC")
> objSendMail.Bcc = Request.QueryString("SendBCC")
> objSendMail.Importance = Request.QueryString("SelImportance")
> objSendMail.Subject = Request.QueryString("Subject")
> objSendMail.Body = Request.QueryString("BodyText")
>
>
> 'Send the message
> objSendMail.Send
>
> 'Set the objSendMail to nothing, free its resources
> set objSendMail = nothing
Message #3 by "Taher Moiyed" <taherm@f...> on Wed, 4 Jul 2001 12:29:24 +0100
|
|
hi superman
at the moment i have nothing under smart host, i mean its left blank, so
what shall i write my server name which is server2 in that text field and
what else do i need to do.
plz help ...
thanks in advance
-----Original Message-----
From: SuperMan [mailto:omaima62@h...]
Sent: 04 July 2001 12:27
To: ASP CDO
Subject: [asp_cdo] Re: newbie question regarding CDONTS
Hi..
have you setup the smart host in your SMTP server and mentioned the
correct server name in that fields. Just make sure that you didnt
mentioned the IP address of the Server. if so then replace that with the
server name.
take care
SuperMan
> hello freinds,
> i bought profesional ASP and am on 22nd chapter. i have downloadedthe
code
> for it and have setup virtual site on my win2k server.
>
> when ever i try to send an email to my account it says that teh mail is
> sent but i cant recv any email. i think my smtp server is not setup ,
how
> can i do this.
>
> if smtp is not setup then how am i getting emails from other poeple into
> my mail account??
>
> secondly i tried using an email component called InaEmailSend supplied
by
> componentsource.com and it works fine. therefore if smtp server is not
> setup then how can this componet work.
>
> i have used the following script in my asp page
> dim objSendMail
> set objSendMail = CreateObject("CDONTS.NewMail")
>
> ' Set all the properties on the NewMail object using the values
> from the QueryString
> objSendMail.From = Request.QueryString("SendFrom")
> objSendMail.To = Request.QueryString("SendTo")
> objSendMail.Cc = Request.QueryString("SendCC")
> objSendMail.Bcc = Request.QueryString("SendBCC")
> objSendMail.Importance = Request.QueryString("SelImportance")
> objSendMail.Subject = Request.QueryString("Subject")
> objSendMail.Body = Request.QueryString("BodyText")
>
>
> 'Send the message
> objSendMail.Send
>
> 'Set the objSendMail to nothing, free its resources
> set objSendMail = nothing
Message #4 by "SuperMan" <omaima62@h...> on Wed, 4 Jul 2001 12:50:03
|
|
Hi again...
Just enter the server name in the smart host field and in the fully
qualified domain name. the SERVER NAME is the name of the server where
your exchange server or any mail server is running. Is there any mail
server running at your site . if not than its is necessary to configure
that first . for eg (Exchange Server or any other).
Ok..
Take care
SuperMan
> hi superman
> at the moment i have nothing under smart host, i mean its left blank, so
> what shall i write my server name which is server2 in that text field and
> what else do i need to do.
> plz help ...
> thanks in advance
>
> -----Original Message-----
> From: SuperMan [mailto:omaima62@h...]
> Sent: 04 July 2001 12:27
> To: ASP CDO
> Subject: [asp_cdo] Re: newbie question regarding CDONTS
>
>
> Hi..
> have you setup the smart host in your SMTP server and mentioned the
> correct server name in that fields. Just make sure that you didnt
> mentioned the IP address of the Server. if so then replace that with the
> server name.
> take care
> SuperMan
>
>
> > hello freinds,
> > i bought profesional ASP and am on 22nd chapter. i have downloadedthe
> code
> > for it and have setup virtual site on my win2k server.
> >
> > when ever i try to send an email to my account it says that teh mail is
> > sent but i cant recv any email. i think my smtp server is not setup ,
> how
> > can i do this.
> >
> > if smtp is not setup then how am i getting emails from other poeple
into
> > my mail account??
> >
> > secondly i tried using an email component called InaEmailSend supplied
> by
> > componentsource.com and it works fine. therefore if smtp server is not
> > setup then how can this componet work.
> >
> > i have used the following script in my asp page
> > dim objSendMail
> > set objSendMail = CreateObject("CDONTS.NewMail")
> >
> > ' Set all the properties on the NewMail object using the values
> > from the QueryString
> > objSendMail.From = Request.QueryString("SendFrom")
> > objSendMail.To = Request.QueryString("SendTo")
> > objSendMail.Cc = Request.QueryString("SendCC")
> > objSendMail.Bcc = Request.QueryString("SendBCC")
> > objSendMail.Importance = Request.QueryString("SelImportance")
> > objSendMail.Subject = Request.QueryString("Subject")
> > objSendMail.Body = Request.QueryString("BodyText")
> >
> >
> > 'Send the message
> > objSendMail.Send
> >
> > 'Set the objSendMail to nothing, free its resources
> > set objSendMail = nothing
>
>
Message #5 by "Taher Moiyed" <taherm@f...> on Wed, 4 Jul 2001 12:57:46 +0100
|
|
Ya you are rite, exchange server is not installed, i am using win2k prof
server, can you suggest me any other mail server whihc is free so that i can
then install it on my server.
waiting for your reply
thanks Superman
-----Original Message-----
From: SuperMan [mailto:omaima62@h...]
Sent: 04 July 2001 12:50
To: ASP CDO
Subject: [asp_cdo] Re: newbie question regarding CDONTS
Hi again...
Just enter the server name in the smart host field and in the fully
qualified domain name. the SERVER NAME is the name of the server where
your exchange server or any mail server is running. Is there any mail
server running at your site . if not than its is necessary to configure
that first . for eg (Exchange Server or any other).
Ok..
Take care
SuperMan
> hi superman
> at the moment i have nothing under smart host, i mean its left blank, so
> what shall i write my server name which is server2 in that text field and
> what else do i need to do.
> plz help ...
> thanks in advance
>
|
|
 |