Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2006
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question is it possible to send confirmation email with JS?

    I have a page where user inputs are taken and an email is sent to user to the input email address containing all the user input details collected on the form.

    Instead of using mailto to open up default email client, I want this email to be generated and sent automatically with the "submit" button click event.

    I am able to do it using PHP, however, in this case, the page is done with pure client side scripting, so, is it possible with JS?
    Last edited by ssffcc; 06-05-2006 at 06:14 AM.
    Achievement provides the only real pleasure in life.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    No. JS can't handle an email sent without opening the default mail client. Perhaps you should open a popup window of the users browser and send them to a page online.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Mar 2006
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx _Aerospace_Eng_ ,
    Achievement provides the only real pleasure in life.


  •  

    Posting Permissions

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