944,216 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 6842
  • ASP RSS
Jan 17th, 2005
0

Problem with cdonts mails in asp

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deepa is offline Offline
19 posts
since Nov 2004
Jan 19th, 2005
0

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!
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005
Jan 19th, 2005
0

Re: Problem with cdonts mails in asp

my server supports cdon't,then what is the problem in the code
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deepa is offline Offline
19 posts
since Nov 2004
Jan 25th, 2005
0

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.
Reputation Points: 10
Solved Threads: 0
Light Poster
faisyshah is offline Offline
27 posts
since Dec 2004
Jan 25th, 2005
0

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deepa is offline Offline
19 posts
since Nov 2004
Jan 25th, 2005
0

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.
Reputation Points: 10
Solved Threads: 0
Light Poster
faisyshah is offline Offline
27 posts
since Dec 2004
Jan 25th, 2005
0

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
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005
Jan 27th, 2005
0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deepa is offline Offline
19 posts
since Nov 2004
Jan 28th, 2005
0

Re: Problem with cdonts mails in asp

thanks for solve my problem :p
Reputation Points: 10
Solved Threads: 0
Light Poster
faisyshah is offline Offline
27 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: error '80020009' Exception Occured
Next Thread in ASP Forum Timeline: Change Font Size





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC