Saving CDONTS entries

Results 1 to 2 of 2

Thread: Saving CDONTS entries

  1. #1
    Joel Dundee Guest

    Default Saving CDONTS entries

    Is there anyway that I can capture the information that is sent using cdonts. My email form works great, so I don&#039t want to screw it up, but, it would be good to be able to save the entries and dates that they were entered into my SQL database.

  2. #2
    MKK Guest

    Default RE: Saving CDONTS entries

    Joel,<BR><BR>I&#039ve not done this before, but what I would do would be to incorporate some code on the ASP side using the request object&#039s controls passed (ie.request.form("txtSubject")) and save these details to a table in your database. You would probably want to save a date also so you can write a routine to ditch ones older than for instance 3 months.<BR><BR>When you send the mail...<BR>myCDONTSMail.Send sFrom,sTo,sSubject,sBody,lImportance<BR>Next check the Err.Number ...<BR><BR>If it&#039s ZERO, it sent and you can save the details<BR>If it&#039s NOT, it failed and you can forget saving it.<BR><BR>Hope that helped.<BR><BR>MKK<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts