DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP (http://www.daniweb.com/forums/forum62.html)
-   -   Problem with cdonts mails in asp (http://www.daniweb.com/forums/thread17083.html)

Deepa Jan 17th, 2005 1:32 am
Problem with cdonts mails in asp
 
iam sending mail using cdonts in asp
there is no error but the mail is not send.
can some one help me in this.
this is the code


set objMail=Server.CreateObject("CDONTS.NewMail")
objMail.From=FromId
objMail.To=ToId
objMail.Subject=MailSubject
objMail.BodyFormat=0 ' for HTML
objMail.MailFormat = 0 ' for MIME
objMail.Body=MailMessage
objMail.Send

set objMail=nothing

zippee Jan 19th, 2005 5:00 am
Re: Problem with cdonts mails in asp
 
See Brinkster knowledgebase:
http://brinkster.com/Kb/Kb.asp?kb=108154

Make sure your server support CDONT first!

Deepa Jan 19th, 2005 10:55 pm
Re: Problem with cdonts mails in asp
 
my server supports cdon't,then what is the problem in the code

faisyshah Jan 25th, 2005 2:03 am
Re: Problem with cdonts mails in asp
 
now a day i am designing a site in which my client requirement is that when customer fill the form , the form information automically receive my client by email address.

i mean when customer fill product form then information submit in database and also my client receive same informatin in the form of email address.

my operating system is win98

and database is microsoft access

i know u cam help me.

Deepa Jan 25th, 2005 5:31 am
Re: Problem with cdonts mails in asp
 
i din't get your question.can u please explain this

"i mean when customer fill product form then information submit in database and also my client receive same informatin in the form of email address.
"
again.what is this clients means.


Quote:

Originally Posted by faisyshah
now a day i am designing a site in which my client requirement is that when customer fill the form , the form information automically receive my client by email address.

i mean when customer fill product form then information submit in database and also my client receive same informatin in the form of email address.

my operating system is win98

and database is microsoft access

i know u cam help me.


faisyshah Jan 25th, 2005 6:24 am
Re: Problem with cdonts mails in asp
 
first of all thanks for reply

now clients means person or company for whom i am designing a site.
in short i have same question or problem that u wrote in this thread.

but iam using asp
win98 operating system
microsoft Access database

can i use cdonts in my case
if yes then how i can use in my web page
if not then what is another procedure.

zippee Jan 25th, 2005 7:32 pm
Re: Problem with cdonts mails in asp
 
If you can instal JMail or ASPMail to your server (or they have been installed), it will be easier and there are many open source code on the internet.
see http://www.haneng.com tutorial, also see http://brinkster.com/Kb/Kb.asp?kb=108154

Deepa Jan 27th, 2005 2:00 am
Re: Problem with cdonts mails in asp
 
hello
u can get the details of the form submited and store it in the database.

the content of the form can be considerd as mailmessage and send the mail
mailmessage="<table><tr><td>CustomerName:"&CustomerName & "<td><tr>"
mailMessage=MailMessage&"<tr><td>CustomerEmailAddress:"&emailID&"<td><tr>"
mailMessage=MailMessage&"----------"
MailMessage=MailMessage& "</table>"


set objMail=Server.CreateObject("CDONTS.NewMail")
objMail.From=FromId
objMail.To=ToId
objMail.Subject=MailSubject
objMail.BodyFormat=0 ' for HTML
objMail.MailFormat = 0 ' for MIME
objMail.Body=MailMessage
objMail.Send

set objMail=nothing

faisyshah Jan 28th, 2005 9:30 am
Re: Problem with cdonts mails in asp
 
thanks for solve my problem :p


All times are GMT -4. The time now is 5:26 pm.

Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC