Problem with cdonts mails in asp

Reply

Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

Problem with cdonts mails in asp

 
0
  #1
Jan 17th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: Problem with cdonts mails in asp

 
0
  #2
Jan 19th, 2005
See Brinkster knowledgebase:
http://brinkster.com/Kb/Kb.asp?kb=108154

Make sure your server support CDONT first!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

Re: Problem with cdonts mails in asp

 
0
  #3
Jan 19th, 2005
my server supports cdon't,then what is the problem in the code
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 27
Reputation: faisyshah is an unknown quantity at this point 
Solved Threads: 0
faisyshah faisyshah is offline Offline
Light Poster

Re: Problem with cdonts mails in asp

 
0
  #4
Jan 25th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

Re: Problem with cdonts mails in asp

 
0
  #5
Jan 25th, 2005
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.


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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 27
Reputation: faisyshah is an unknown quantity at this point 
Solved Threads: 0
faisyshah faisyshah is offline Offline
Light Poster

Re: Problem with cdonts mails in asp

 
0
  #6
Jan 25th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: Problem with cdonts mails in asp

 
0
  #7
Jan 25th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

Re: Problem with cdonts mails in asp

 
0
  #8
Jan 27th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 27
Reputation: faisyshah is an unknown quantity at this point 
Solved Threads: 0
faisyshah faisyshah is offline Offline
Light Poster

Re: Problem with cdonts mails in asp

 
0
  #9
Jan 28th, 2005
thanks for solve my problem :p
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC