HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 4th, 2004, 01:28 PM
graswant graswant is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 graswant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question problem in form

Hi
I am creating a website in which I will provide screenshots for windows and mac and I want to add a form with 3 text box and one text area with 2 buttons. The problem is when we click on submit it jumps and opens outlook but if a user is not using outlook then that will create problem for him. so what I want is something which can stop that and as soon as I click on submit it shoots a mail to my email id.
If anyone can help me with that then that will be great and I will be thankful to him/her.
Please help me.

Reply With Quote
  #2  
Old October 5th, 2004, 03:28 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
You need to write an ASP script which utilises a server-side component to send the email for you. What email component(s) is/are available on the server
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!

Reply With Quote
  #3  
Old October 6th, 2004, 07:36 AM
graswant graswant is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 graswant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Email Components

Quote:
Originally Posted by selwonk
You need to write an ASP script which utilises a server-side component to send the email for you. What email component(s) is/are available on the server
Hi
Thnx for replying. I think I didn't understand your Question. I am making a website and I got free space on tripod server and I am using that space to do this. So can you please tell me what kind of components do we need.
And I have tried following code for this but I am not able to get mail on my account.I got this coding from some website.


First of all, HTML page to start things off.

<HTML>
<BODY>
<FORM METHOD=POST ACTION="SendMail.jsp">
Please enter name: <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
Please enter email address: <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
<P><INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>

Now created SendMail.jsp.
<%@ taglib prefix="blx" uri="/blx.tld" %>
<HTML>
<BODY>
<%
// Get username.
String email = request.getParameter( "email" );
%>
<% if ( email == null || email.equals( "" )) { %>
Please enter an email address.
<% } else { %>
<blx:email host="mail.spymac.com" from=gaurav_raswant@spymac.com>
<blx:emailTo><%= email %></blx:emailTo>
Thank you for sending question.
Your mail was received at <%= new java.util.Date() %>
</blx:email>

Thank you. A confirmation email has been sent to <%= email %>
<% } %>
</BODY>
</HTML>

When I clicked on submit it do something and then when I checked my mail I didn't get anything. I hope you understand my problem. I don't want that qutlookexpress should open and the coding I am trying does not open outlook but neither do anything.
Can you please help me and I am not sure bout coding in jsp as well I wrote this on notepad and saved it as sendmail.jsp
Is it correct or I have to do something else. please help.....

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > problem in form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway