Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: [proasp_howto]Sending Sample Email


Message #1 by Catherine <catherine.s@t...> on Tue, 19 Sep 2000 09:37:29 -0500
Hi. I'm trying to create a sample page to send email using the code below. 

I didn't get any error messages running this but I can't receive the mail. 

When I try to send to hotmail acct , it did go through. What do you think 

is the cause of the problem?

I will be very glad for any help you can give. Thank you very much.





sub btnEmail_onclick()

	set objSendMail = CreateObject("CDONTS.NewMail")

	with objSendMail

		.From    = "catherine.s@t..."

		.To      = "catherine.s@t..."

		.Subject = "Sample Mail from ASP"

		.Body    = " Sample Mail from ASP"

		.Send

	end with

	set objSendMail = Nothing

end sub





Message #2 by <ritukamal@y...> on Wed, 20 Sep 2000 06:34:59 -0700
hi

what is your mail host server  or smtp server via which u r sending ur

emails.

there is one domaindlx.com website using that u can send the emails becoz

they are giving access to there smtp servers.



just logon to my website (http://web.domaindlx.com/aggrk/book) and be a

member of it with your valid email id then with in seconds u will receive a

autoresponder type email using their domaindlx.com smtp servers. check it

out and then  check their FAQs' there "how to use email" gives u the sample

code of it.



 bye



RituKamal Aggarwal

email : ritukamal@y...

website : http://web.domaindlx.com/aggrk/book





----- Original Message -----

From: "Catherine" <catherine.s@t...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Tuesday, September 19, 2000 4:19 PM

Subject: [asp_cdo] [proasp_howto]Sending Sample Email





> Hi. I'm trying to create a sample page to send email using the code below.

> I didn't get any error messages running this but I can't receive the mail.

> When I try to send to hotmail acct , it did go through. What do you think

> is the cause of the problem?

> I will be very glad for any help you can give. Thank you very much.

>

>

> sub btnEmail_onclick()

> set objSendMail = CreateObject("CDONTS.NewMail")

> with objSendMail

> .From    = "catherine.s@t..."

> .To      = "catherine.s@t..."

> .Subject = "Sample Mail from ASP"

> .Body    = " Sample Mail from ASP"

> .Send

> end with

> set objSendMail = Nothing

> end sub

>

>










  Return to Index