How can i send an Email from my jsp page in an html format
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   phil_con
Posted On:   Monday, April 1, 2002 07:32 AM

Minority Dealer //*************graphic button images************ gifSubmitRegular = new Image(66,29) gifSubmitRegular.src = "images/buttons/Submit.gif" gifSubmitClickon = new Image(66,29) gifSubmitClickon.src = "images/buttons/Submit-down.gif" gifSubmitOver = new Image(66,29) gifSubmitOver.src = "images/buttons/Submit-over.gif" gifPrintRegular = new Image(66,29) gifPrintRegular.src = "images/buttons/Print.gif" gifPrintClickon = new Image(66,29) gifPrintClickon.src = "images/buttons/Print-down.gif" gifPrintOver = new Image(66,29) gifPrintOver.src = "images/buttons/Print-over.gif" //*************end of graphic button images************* //*************************************JavaScript Variable Decleration***************** // s is an abbreviation for "string" var Name = docume   More>>
Minority Dealer

How can i send an email message from my jsp page with html content as the subject.i have an jsp page with on line application form,after filling the validation if i click the submit button,the person who's supposed to receive the mail receives the message as in the same format while the user filling the form.if i use javascript mail feature it just sends the mail with all the values as strings but the client want to see the mail as in the same format while filling the data.is there any possibility for that,pl help me to solve this.the fallowing is the code i am using right now.


<%@ page import="java.sql.*, java.io.*, javax.servlet.*, javax.servlet.http.*" %>
<%@ page import="java.util.*,javax.sql.*,com.ibm.ejs.dbm.jdbcext.*, javax.naming.*" %>
<%@ page isErrorPage = "false" errorPage = "errorPage.jsp" %>



<%@ include file="styleJavascript.inc" %>







ACTION="mailto:leo_lion61@yahoo.com?subject=Online Application Form for MinorityDealer." ENCTYPE="text/plain">






Online Application












































































































































































































Name* 


Social Security Number* 

Address: Years at this Address* 
Street* 
City*    
State*  
Zip*     
Date of Birth* Email Address*
Residence Phone Number*
Business Phone Number*
Marital Status:

Single Married Separated Divorced


Present and Previous Business Experiance
Name of Company* 
Duties of Position*
Address:
Street* 
City*    
State*  
Zip*     
Type of Business
Position Held
Reason for Leaving
Employed
From:
To:
Salary Per Mo
Immediate Supervisor
Telephone

Name of Company
Duties of Position
Address:
Street* 
City*    
State*  
Zip*     
Type of Business
Position Held
Reason for Leaving
Employed
From:
To:
Salary Per Mo
Immediate Supervisor
Telephone

Name of Company
Duties of Position
Address:
Street* 
City*    
State*  
Zip*     
Type of Business
Position Held
Reason for Leaving
Employed
From:
To:
Salary Per Mo
Immediate Supervisor
Telephone



Below list your current personal Assets and Liabilities as accurately as possible
Personal Assets Personal Liabilities
Cash
Accounts Payable
Marketable Securities
Notes Payable-Banks
Life Insurance-Cash Surrender Value
Notes Payable-Others
Other Assets(List)
Installment Obligations
Total Current Assets
Mortagages Payable
Real Estate
Total Personal Liabilities
Misc.Furniture,Assets,Etc.
NetWorth
Total Personal Assets
Total Personal Liabilities & NetWorth









Submit








Any help would be appreciated.

Regards.    <<Less

ritzen

Posted By:   Anonymous  
Posted On:   Friday, April 19, 2002 05:27 AM

Forums > JavaMail > Answer
HOME
FAQS
FORUMS
ARTICLES
PEERSCOPE
LEARN
NEWS


Search
Answer Message


How can i send an Email from my jsp page in an html format
Topic: JavaMail
phil con, Apr 1, 2002
How can i send an email message from my jsp page with html content as the subject.i have an jsp page with on line application form,after filling the validation if i click the submit button,the person who's supposed to receive the mail receives the message as in the same format while the user filling the form.if i use javascript mail feature it just sends the mail with all the values as strings but the client want to see the mail as in the same format while filling the data.is there any possibility for that,pl help me to solve this.the fallowing is the code i am using right now.
<%@ page import="java.sql.*, java.io.*, javax.servlet.*, javax.servlet.http.*" %> <%@ page import="java.util.*,javax.sql.*,com.ibm.ejs.dbm.jdbcext.*, javax.naming.*" %> <%@ page isErrorPage = "false" errorPage = "errorPage.jsp" %> <%@ include file="styleJavascript.inc" %> Minority Dealer



Online Application


Name*
Social Security Number*

Address: Years at this Address*
Street*
City*
State*
Zip*
Date of Birth* Email Address*

Residence Phone Number*
Business Phone Number*

Marital Status:

SingleMarriedSeparatedDivorced


Present and Previous Business Experiance

Name of Company*
Duties of Position*

Address:
Street*
City*
State*
Zip*
Type of Business
Position Held

Reason for Leaving

Employed
From:
To:

Salary Per Mo
Immediate Supervisor

Telephone


Name of Company
Duties of Position

Address:
Street*
City*
State*
Zip*
Type of Business
Position Held

Reason for Leaving

Employed
From:
To:

Salary Per Mo
Immediate Supervisor

Telephone


Name of Company
Duties of Position

Address:
Street*
City*
State*
Zip*
Type of Business
Position Held

Reason for Leaving

Employed
From:
To:

Salary Per Mo
Immediate Supervisor

Telephone




Below list your current personal Assets and Liabilities as accurately as possible


Personal Assets Personal Liabilities

Cash
Accounts Payable

Marketable Securities
Notes Payable-Banks

Life Insurance-Cash Surrender Value
Notes Payable-Others

Other Assets(List)
Installment Obligations

Total Current Assets
Mortagages Payable

Real Estate
Total Personal Liabilities

Misc.Furniture,Assets,Etc.
NetWorth

Total Personal Assets
Total Personal Liabilities & NetWorth
About | Sitemap | Contact