Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Post Unanswered: how to send email by click on the checkbox

    how to insert a checklist data (email address) which is get from the MySQL database
    and send email to the person that have been checked??
    i have try many times but fail ?
    if anyone knows the solution plz let me know.
    thanks

  2. #2
    Join Date
    Dec 2003
    Posts
    454
    Do you mean the email should be sent out when the user checks the checkbox?

  3. #3
    Join Date
    Jan 2004
    Location
    Bermuda
    Posts
    40
    rachelwpc:

    As gyuan asks, if the mail is to be generated by the CHECKING action, then you're looking at JScript.

    If you can wait to send until AFTER Submit, then CDONTS is one option.

    http://msdn.microsoft.com/library/de...s_library_.asp

    not sure if there is a MySQL function similar to xp_sendmail in SQL ?

    RobbieD
    Sunny Times...

  4. #4
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    www.asp101.com has some e-mail examples in the Samples section. The e-mail attachment example uses the more recent CDO instead of the tried-and-true but outdated-on-some-newer-servers CDONTS.

    And don't know if this post-back concept might also help at all:

    ASP Design Tips - Post Back Page
    http://www.bullschmidt.com/devtip-postbackpage.asp
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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