Brainjar - Forms

Discussion in 'HTML / PHP / JavaScript / CSS' started by mallybills, Oct 2, 2006.

  1. I am using a script from brianjar.com and need to know what to put for the smtpServer if my site is hosted with DiscountASP.

    Also, can anyone tell me what I should NAME the vbscript so that the form knows where to look?

    Help - I'm kind of new at this...
     
  2. Nevermind on the naming thing. Got it...
     
  3. Okay. I guess I don't have this figured out.


    I've got the form done with all of the variables done. I've got the script, but I don't know if I should name it with an .asp extension or vbs.


    I'm assuming it should be formmail.asp and I've got it in a scripts folder so the reference in the form is <form action="scripts/formmail.asp" method="post">


    Is this correct?
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    1) You should set the SMTP server to "localhost"

    2) You can name the script to whatever you like. You just make sure the calling page uses the same name.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. But what should my extension be? Should it be .vbs or .asp? Either way, it doesn't like what it is now.
     
  6. Also,with Discountasp.com, is the mailComp = "ASPMail"?

    Let me know.
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    No. We do not support ASPMail because it causes server problem.

    We support

    ASPEmail
    CDO
    Jmail



    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  8. Sorry to reopen an old thread...

    I'm trying to set up the formmail.asp script here.

    Here are my settings, garnered from various posts throughout these forums:
     
  9. /emoticons/blush.gif /emoticons/blush.gif /emoticons/blush.gif

    Oh, nevermind. I figured it out

    Jmail NOT JMail

    heh. /emoticons/blush.gif
     
  10. Well, I got the confirmation page, but I never got the form results emailed to me.

    So, any ideas?

    What is the IIS equivalent to Unix error logs?

    Post Edited (Maida) : 1/2/2007 6:02:25 AM GMT
     
  11. There could be many possibilities to this. Either the email was sent correctly to you but your spam filter might have either put it in your bulk/spam/junk folder. Or it could have been bounced and the "From" or "Reply To" address is invalid. So when there was an error the server had no way of telling you that the email was not delivered. Make sure the the email address's (from and to address) are correct and valid. You may want to test them individually. Make sure that you are using 'localhost' as the smtp server. You may want to also test out the application by inputtingalternative To address's.
    If everything checks out correct, the To and From address are correct and valid. Your web applications is pointing to 'localhost' as the smtp server, then I suggest opening a ticket with dasp. Make sure you include the "to" and "from" address on the ticket. Also include the date and time you tried to send the email through your web application. And also provide the exact URL and instructions on how they can replicate the issue.
     
  12. Thanks for the reply!

    I did try several email addresses - on Gmail, on mydomain.com and on anotherwebhost.com with no luck in receiving the form results.

    I just opened a ticket with DASP with all the information you suggested - and submitted the form again right before I submitted the ticket.

    Hopefully, we can get this all figured out. /emoticons/smile.gif
     
  13. I did create a trouble ticket, after many emails back and forth, I got upgraded to the attention of the sys admin.

    Here's the code from the formmail.asp

     
  14. Bruce

    Bruce DiscountASP.NET Staff

  15. Well, I went with a different script /emoticons/smilewinkgrin.gif which worked on the first try.
     
  16. I'm looking to build a form that submits to an email...may I ask what script you found that worked? Thanks!
     
  17. Do you want the form code for ASP v3 or ASP.NET v 2.0?
     
  18. This looks like it should work. Are you getting errors or bounce back message when this web application is triggered?
     
  19. no, so far it has been working as expected :)
     
  20. Using ASPEmail

     

Share This Page