CDONTS send two e-mails - why?

Results 1 to 2 of 2

Thread: CDONTS send two e-mails - why?

  1. #1
    Join Date
    Dec 1969

    Default CDONTS send two e-mails - why?

    I&#039;ve used CDONTS many times successfully. For some reason, this time, the code is sending multiple e-mails. <BR><BR>Set objMail = CreateObject("CDONTS.NewMail")<BR>objMail.From = "my e-mail address"<BR>objMail.To = "my e-mail address"<BR>objMail.Subject = "test"<BR>objMail.Body = "test"<BR>objmail.Send<BR>set objMail = Nothing <BR><BR>The code above is what I used. I tried using a get and a post method on the form, but they both send two e-mails. Any help is appreciated.<BR>Thanks

  2. #2
    Join Date
    Dec 1969
    Indianapolis, IN

    Default Is it possible...

    that the code is getting called twice? For example, maybe you have a redirect that goes back to the page again for some reason. Can you verify that it only hits that section of code once? (You might have to write something out to a database or file to be sure.)

Posting Permissions

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