Submit to mdb AND Email

Results 1 to 3 of 3

Thread: Submit to mdb AND Email

  1. #1
    baument Guest

    Default Submit to mdb AND Email

    Need a hand. User hits submit button, data gets sent to access mdb (that&#039s how it works now) and also a call is made to a function to generate email using ASPMail. Have been trying to get onsubmit() to work but so far no luck.<BR>Any ideas?<BR>Thanks

  2. #2
    jason Guest

    Default RE: Submit to mdb AND Email

    easy. you&#039re using an asp page to go to the database, just append the email function on the end of that page. don&#039t do it client side with onSubmit(), that&#039d require ASPMail being installed on the user&#039s computer.<BR><BR>

  3. #3
    Rob Guest

    Default RE: Submit to mdb AND Email

    You can call the function easily if you would rather.<BR>But call it in ASP, not client side<BR><BR>Function mailIt()<BR>&#060;mail script&#062;<BR>End Function<BR><BR>&#060;SQL = INSERT INTO &#062;<BR>DataConn.execute(SQL)<BR><BR>call mailIt<BR><BR><BR><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