Send PDF Form from web page

Hi all. I have a web site with a PDF fillable form. Currently, customers must print and snail mail it to us. Most of them use web based mail, so the old mailto: function (which relies on email client like Outlook) is way out of date.
I cannot find a solution in the forums. Can anyone tell me if I can wrap the form in php and use a php mailer to forward it to my sites mailbox? This would be similar to the standard Contact Us form submission.
It seems Adobe would give some guidance here as this has been asked several times in the forums. Could really use some pointers. Assistance much appreciated.
Bob

> It seems Adobe would give some guidance here as this has been asked several times in the forums.
They have.
You have the Doc.submitForm method (listed in the JS API Reference) that will allow you to submit form data to a webservice. There are 6 code examples of how to use this method included in the API Reference as well.
For XFA forms created in LiveCycle Designer, there is an "HTTP Submit" button as one of the default form objects provided to the user.
You also have the entire "SOAP" object available to you in Acrobat JavaScript (again, covered in the API Reference) if you need to make very advanced webservice calls.

Similar Messages

  • Cannot Link PDF form to web page

    Have form Centeral and Create PDF and cannot get eighter to link form to web page?

    Sorry I don't understand. Can you provide details on the problem you are having.
    Randy

  • Auto fill form from web page content

    I need to fill a field in a PDF form (version 8 or newer) with a value provided by a web page.  The webpage is a counter to provide a unique, sequetial number.
    I have been able to do this with Get() when using FormCalc, however I need more logic control than is provided in FormCalc.
    I have attempted to implement the logic with JavaScript and getURL. When I open the form the JavaScript Console indicates: "TypeError: xfa.host.getURL is not a function"
    Here is my code with some console diagnostics included:
    console.println("formEmailed = " + xfa.form.topmostSubform.formEmailed.value);
    if( xfa.form.topmostSubform.formEmailed.value == 1) {
      console.println("assignedTR = " + xfa.form.topmostSubform.assignedTR.value);
      if( !xfa.form.topmostSubform.assignedTR.value == 0){
        console.println("Getting URL...");
        xfa.host.getURL("http://somehost.com/index.html", true); //Get( "http://somehost.com/index.html");
        console.println("Field value = " + this.rawValue);
       // Verify a value actually got assigned
        if( this.rawValue.length > 0)
          xfa.form.topmostSubform.assignedTR.value = 1;
      } else {
        console.println("Not getting URL");
    Note: formEmailed and assignedTR are global variables.  The code is associated with the DocReady event.
    I have been unable to locate any examples of filling a field in a from from a webpage.
    Ultimately, I want the value from the webpage assigned to this.rawValue so that the value becomes part of the data in the form.
    Suggestions?

    Thanks.  I could not move the discussion, so I reposted to the LiveCycle forum.
    Here is the link to that discussion: http://forums.adobe.com/message/5696842#5696842
    Message was edited by: seeggy

  • How to display URL on PDF copied from web page;Does from Safari browser/Not Firefox

    When I make a PDF document from a web page when in Safari, it automatically puts the URL in with the document but not when I'm using Firefox.

    What is the format of that online document - is it an image, or is it perhaps already a PDF document?  If so, you can right-click on it and save it to your local disk.

  • Saving Offline PDF form from Web-Dynpro with Dynamic File Name

    Hello All,
    We have a offline PDF form.... When we save the form, a default file name appears. We need to change this default name to some value that is already available in the form fields.
    I have gone through some posts in the forum. However not able to figure out the solution.
    Following are the details:
    1. Web-Dynpro used : ABAP Web-Dynpro
    2. Form Type: Native
    3. Offline Editable form
    Regards,
    Kunjal Patel

    Hi Rajesh,
    I have not yet found a solution....
    Also as you have seen no one is replying.....
    All,
    Should we consider that this issue does not have a specific solution?
    Regards,
    Kunjal

  • Can I invoke Oracle Form from web page?

    Does anyone know how can I invoke an Oracle Forms form from an html page?

    Hi Hans
    That's what I thought re the url but I can't find out what it is, it briefly appears in the browser but then goes leaving me with the formsweb.cfg config url. I am running from the Builder on Windows 2000 and it's Forms 10g.
    Marc

  • Reading PDF documents from Web pages, Acrobat vs. Preview

    When I encounter Web pages with PDF document links, I'd like to open them using the Adobe Acrobat application, not Preview. I haven't found a way to change the behavior of the Mac OS to permit me to set the default app.
    I did find a way to change the default app to open PDF documents on the hard drive (though I can't recall where I found this feature), but it has no effect when I click links in Web pages.
    By the way, I'm using Firefox as my default browser, not Safari.
    How do I change the behavior? Is there a better support forum than this one?
    Thanks.
    Jerry

    I think you need this Firefox Add-on for handling PDFs in Firefox;
    PDF Download
    Allows to choose if you want to view a PDF file inside the browser (as PDF or HTML), if you want to view it outside Firefox with your default or custom PDF reader, or if you want to download it!
    I was reminding you how you set files to use certain programs because you said you forgot how.

  • Can't open pdf files from web pages

    I recently upgraded to Adobe Reader 8.1. Now I cannot open pdf files from email attachments. Advises to set Adobe Reader as default in folder options. When I try to do so, it appears to be OK, but still will not open files from emails.

    [email protected] wrote:
    > I recently upgraded to Adobe Reader 8.1. Now I cannot open pdf
    > files from email attachments. Advises to set Adobe Reader as
    > default in folder options. When I try to do so, it appears to be
    > OK, but still will not open files from emails.
    Did you check the settings of your mail client for handling attachments?
    Rainald

  • Filling in PDF forms from web forms

    I have acrobot pro, and can build PDF files. What I don't know how to do is build a web form that'll fill in PDFs, and then make a copy to the server, or email the pdf to the person who filled in the form.
    What forum is the correct place to ask this question? I don't want to be irritating people by asking in the wrong place.

    This forum is fine, you just may want to provide more details. Acrobat's help has more information on creating forms, as do a number of tutorials at AcrobatUsers.com.
    Submitting the entire PDF either to a web server or sending it by email is easy, but if it has to work with Reader, the form has to be Reader-enabled. You can do this in Acrobat, but there is a 500 form limit on the number of returned forms Iincluding hardcopies) that you can use data from if you distribute the document to more than 500 users. When you post a Reader-enabled document on a publicly accessible web site, you are effectively distributing it to an unlimited number or people.
    An alternative is to set up the form to submit just the form data to a web server or send it via email. There are no licensing restrictions for this. The form data can then be later imported back into a blank form, stored in a database, or the data file archived.
    Much of what you asked about does not involve Acrobat directly, but rather programming of the server to respond to a form submission.

  • Problem sending jms message from Web page button (JSF 1.2)

    SJSAS PE 9.0 running on Windows
    Some of the code
    //imports:
    import javax.jms.ConnectionFactory;
    import javax.jms.Queue;
    import javax.jms.Session;
    import javax.jms.JMSException;
    import javax.annotation.Resource;
    //Injection
    @Resource(mappedName = "jms/ConnectionFactory")
    private ConnectionFactory connectionFactory;
    @Resource(mappedName = "jms/Queue")
    private Queue queue;
    //Button action code
    System.out.println("Trying to send message to EJB");
    javax.jms.Session jmssession = null;
    javax.jms.Connection connection = null;
    javax.jms.MessageProducer messageProducer = null;
    javax.jms.TextMessage message = null;
    final int NUM_MSGS = 1;
    try {           
    // This line is failing, java.lang.NullPointerException
    connection = connectionFactory.createConnection();
    jmssession = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
    messageProducer = jmssession.createProducer(queue);
    message = jmssession.createTextMessage();
    for (int i = 0; i < NUM_MSGS; i++) {
    message.setText("PV interface jobid " + (i + 1));
    message.setBooleanProperty("Gyldig", true); // Sample on how to use properties; can be used to collect necessary information
    System.out.println("Sending message: " + message.getText());
    messageProducer.send(message);
    } catch (JMSException e) {
    System.out.println("Exception occurred: " + e.toString());
    } finally {
    if (connection != null) {
    try {
    connection.close();
    } catch (JMSException e) {
    } // if
    } // finally
    ERROR MESSAGE
    Log Entry Detail
    Details
    Timestamp:
    May 8, 2007 15:24:26.608
    Log Level:
    SEVERE
    Logger:
    javax.enterprise.resource.webcontainer.jsf.application
    Name-Value Pairs:
    ThreadID=12;ThreadName=httpWorkerThread-8080-1;_RequestID=832ea681-575f-4126-9bcf-01dcdf010044;
    Record Number:
    2513
    Message ID:
    java.lang.NullPointerException javax.faces.el.EvaluationException
    Complete Message
    java.lang.NullPointerException
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:97)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:96)
         at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
         at javax.faces.component.UICommand.broadcast(UICommand.java:383)
         at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:450)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:759)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.NullPointerException
         at com.company.testinterfaceportal.JmsSending.<init>(JmsSending.java:37)
         at com.company.testinterfaceportal.MainApplicationBean.SendBeskjedNaa(MainApplicationBean.java:192)
         at com.company.testinterfaceportal.Status.button1_action(Status.java:709)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
         ... 34 more

    I know the code for the jms-sending is OK (I've
    tested in another application, copy of code), but i
    dont know why it isn't working in this particual
    Visual Web Project. It does seem like the injection
    isn't taking place here; and i have no clue to
    why.....where does your web.xml schema location points to ?
    Injection works only with JEE 5, which means that you have to point to the right version of the servlet spec, i.e version="2.5" and web-app_2_5.xsd.

  • Since upgrading to FF 7.0.1 I can no longer view .pdf files from web pages and there is no plug in..

    The .pdf viewer plug in for FF3.6 worked fine but upgrading to FF7.0.1 has caused the problem. There are no such plugins for this version. I must go back to FF3.6 with the plugin and then if one for FF7.0.1 doesn;t exist by the time Mozilla stops supporting 3.6 I will go back to Safari as my browser I guess.

    I already reinstalled the Adobe's and it didn't solve anything. What I did find is that when faced with a pdf I want to view, I have to right click "Save Link As..." and then I can view the resultant pdf. Cumbersome perhaps but I guess it works.
    Thanks though for the snotty tone in your response; indeed I realize its not FF's job to ensure my machine is updated. However I'm a business guy not an IT guy and my guess is the business guys at Mozilla would want to be aware of things that would impact the use of their product. And if moving forward with new iterations and updated versions of their product changed the users experience in a negative fashion, however caused, I'm sure they would want to consider what actions they may or may not want to take.
    Furthermore its unfortunate that you mistakenly interpreted my words to mean that I expected them to rectify the issue for me. I simply stated that currently it doesn't work for me and if that doesn't change, I would have to move in a different direction. Simple as that. It's not a big deal.
    So perhaps your typical IT guy "users are so dumb" mantra was misplaced here.

  • I am no longer able to open or download most PDFs from web pages. I have the pop-up blocker turned off in Preferences.

    In recent months I have found that I am unable to download or open PDF documents from web pages. Download links either open a blank page in a new tab or do nothing. PDFs that I am unable to view in Firefox can be viewed and/or downloaded in Safari most of the time and Chrome all of the time so I assume the problem is not my computer or operating system. I recently turned off the pop-up blocker but that did not make a difference. The problem has worsened over the past couple months, it appears that more and more web sites are moving to a different protocol for viewing/downloading PDFs. It used to happen occasionally but now I find that I am unable to view a majority - about 75% - of PDFs. I am using Firefox v18 for Mac with Mac OS X 10.6.8.

    hello ahegarty, you could try using the [https://addons.mozilla.org/firefox/addon/pdfjs/ PDF Viewer] addon, for more details also see [[PDF files are blank and can't be downloaded on Mac]].

  • JSP and dynamic email from form on web page

    I fairly new to JSP, I trying to create a form the will automatically send an email once an insert button is clicked. But in the email there will be to dynamic fields, like SSN and Last Name. These would be passed in from to textboxes on the page. Here is the code I have so far. Thanks for any help
    Joaquin
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%
    // Set Session Variable To Value Of Form Element - JSPSessions_102
    session.setAttribute
    ("SSN",
    request.getParameter
    ("txtSSN"));
    // Send Email From Web Page - JSPMail_101
    Properties props = new Properties();
    props.put("smtp.sbcglobal.yahoo.com", "smtp.sbcglobal.yahoo.com");
    Session s = Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress to = new InternetAddress("[email protected]");
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("New Employee.");
    message.setText("This is a test ");
    Transport.send(message);
    %>
    <%@ include file="Connections/conCap2.jsp" %>
    <%
    // *** Restrict Access To Page: Grant or deny access to this page
    String MM_authorizedUsers="";
    String MM_authFailedURL="loginFailedFac.htm";
    boolean MM_grantAccess=false;
    if (session.getValue("MM_Username") != null && !session.getValue("MM_Username").equals("")) {
    if (true || (session.getValue("MM_UserAuthorization")=="") ||
    (MM_authorizedUsers.indexOf((String)session.getValue("MM_UserAuthorization")) >=0)) {
    MM_grantAccess = true;
    if (!MM_grantAccess) {
    String MM_qsChar = "?";
    if (MM_authFailedURL.indexOf("?") >= 0) MM_qsChar = "&";
    String MM_referrer = request.getRequestURI();
    if (request.getQueryString() != null) MM_referrer = MM_referrer + "?" + request.getQueryString();
    MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied=" + java.net.URLEncoder.encode(MM_referrer);
    response.sendRedirect(response.encodeRedirectURL(MM_authFailedURL));
    return;
    %>
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    String MM_editAction = request.getRequestURI();
    if (request.getQueryString() != null && request.getQueryString().length() > 0) {
    MM_editAction += "?" + request.getQueryString();
    // connection information
    String MM_editDriver = null, MM_editConnection = null, MM_editUserName = null, MM_editPassword = null;
    // redirect information
    String MM_editRedirectUrl = null;
    // query string to execute
    StringBuffer MM_editQuery = null;
    // boolean to abort record edit
    boolean MM_abortEdit = false;
    // table information
    String MM_editTable = null, MM_editColumn = null, MM_recordId = null;
    // form field information
    String[] MM_fields = null, MM_columns = null;
    %>
    <%
    // *** Insert Record: set variables
    if (request.getParameter("MM_insert") != null && request.getParameter("MM_insert").toString().equals("FacSupPo")) {
    MM_editDriver = MM_conCap2_DRIVER;
    MM_editConnection = MM_conCap2_STRING;
    MM_editUserName = MM_conCap2_USERNAME;
    MM_editPassword = MM_conCap2_PASSWORD;
    MM_editTable = "facsupport";
    MM_editRedirectUrl = "insertOk.jsp";
    String MM_fieldsStr = "txtSSN|value|txtLstNm|value|DkCHDo|value|doCompDK|value|GenOffSupDo|value";
    String MM_columnsStr = "SSN|',none,''|LstName|',none,''|DeskChair|',none,''|CompDsk|',none,''|GenOffSup|',none,''";
    // create the MM_fields and MM_columns arrays
    java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_fieldsStr,"|");
    MM_fields = new String[tokens.countTokens()];
    for (int i=0; tokens.hasMoreTokens(); i++) MM_fields[i] = tokens.nextToken();
    tokens = new java.util.StringTokenizer(MM_columnsStr,"|");
    MM_columns = new String[tokens.countTokens()];
    for (int i=0; tokens.hasMoreTokens(); i++) MM_columns[i] = tokens.nextToken();
    // set the form values
    for (int i=0; i+1 < MM_fields.length; i+=2) {
    MM_fields[i+1] = ((request.getParameter(MM_fields)!=null)?(String)request.getParameter(MM_fields[i]):"");
    // append the query string to the redirect URL
    if (MM_editRedirectUrl.length() != 0 && request.getQueryString() != null) {
    MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + request.getQueryString();
    %>
    <%
    // *** Insert Record: construct a sql insert statement and execute it
    if (request.getParameter("MM_insert") != null) {
    // create the insert sql statement
    StringBuffer MM_tableValues = new StringBuffer(), MM_dbValues = new StringBuffer();
    for (int i=0; i+1 < MM_fields.length; i+=2) {
    String formVal = MM_fields[i+1];
    String elem;
    java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_columns[i+1],",");
    String delim = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String altVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String emptyVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    if (formVal.length() == 0) {
    formVal = emptyVal;
    } else {
    if (altVal.length() != 0) {
    formVal = altVal;
    } else if (delim.compareTo("'") == 0) {  // escape quotes
    StringBuffer escQuotes = new StringBuffer(formVal);
    for (int j=0; j < escQuotes.length(); j++)
    if (escQuotes.charAt(j) == '\'') escQuotes.insert(j++,'\'');
    formVal = "'" + escQuotes + "'";
    } else {
    formVal = delim + formVal + delim;
    MM_tableValues.append((i!=0)?",":"").append(MM_columns[i]);
    MM_dbValues.append((i!=0)?",":"").append(formVal);
    MM_editQuery = new StringBuffer("insert into " + MM_editTable);
    MM_editQuery.append(" (").append(MM_tableValues.toString()).append(") values (");
    MM_editQuery.append(MM_dbValues.toString()).append(")");
    if (!MM_abortEdit) {
    // finish the sql and execute it
    Driver MM_driver = (Driver)Class.forName(MM_editDriver).newInstance();
    Connection MM_connection = DriverManager.getConnection(MM_editConnection,MM_editUserName,MM_editPassword);
    PreparedStatement MM_editStatement = MM_connection.prepareStatement(MM_editQuery.toString());
    MM_editStatement.executeUpdate();
    MM_connection.close();
    // redirect with URL parameters
    if (MM_editRedirectUrl.length() != 0) {
    response.sendRedirect(response.encodeRedirectURL(MM_editRedirectUrl));
    return;
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <form action="<%=MM_editAction%>" method="POST" name="FacSupPo" id="FacSupPo">
    <table width="575" border="1">
    <tr>
    <td><div align="center">
    <h2>Facilities Support Form Submition</h2>
    <p><strong>Please Check all of the Fields</strong></p>
    </div></td>
    </tr>
    </table>
    <p>  </p>
    <p>Please Enter Employees SSN </p>
    <p>
    <input name="txtSSN" type="text" id="txtSSN" value="<%= ((request.getParameter("txtSSN")!=null)?request.getParameter("txtSSN"):"") %>"readonly="true">
    </p>
    <p>Enter Last Name</p>
    <p>
    <input name="txtLstNm" type="text" id="txtLstNm" value="<%= ((request.getParameter("txtLstNm")!=null)?request.getParameter("txtLstNm"):"") %>"readonly="true">
    </p>
    <table width="575" border="1" cellspacing="0" bordercolor="#000000">
    <!--DWLayoutTable-->
    <tr bgcolor="#FF0000">
    <td height="23" colspan="3"> </td>
    </tr>
    <tr>
    <td width="179" height="102" valign="top">
    <p>
    <input name="DkCHDo" type="text" id="DkCHDo" value="<%= ((request.getParameter("DkCHDo")!=null)?request.getParameter("DkCHDo"):"") %>"size="9" readonly="true">
    </p>
    <p>Desk & Desk Chair</p>
    </td>
    <td width="191"><p>
    <input name="doCompDK" type="text" id="doCompDK" value="<%= ((request.getParameter("doCompDK")!=null)?request.getParameter("doCompDK"):"") %>"size="9" readonly="true">
    </p>
    <p>Computer Desk</p></td>
    <td width="191"><p>
    <input name="GenOffSupDo" type="text" id="GenOffSupDo" value="<%= ((request.getParameter("GenOffSupDo")!=null)?request.getParameter("GenOffSupDo"):"") %>"size="9" readonly="true">
    </p> <p>General Office Supplies</p>
    </td>
    </tr>
    <tr>
    <td height="31" colspan="3" valign="top">
    <div align="center">
    <p>
    <input type="submit" value=" Insert " name="Submit">
    </p>
    <p>Back </p>
    </div>
    </td>
    </tr>
    </table>
    <p> </p>
    <input type="hidden" name="MM_insert" value="FacSupPo">
    </form>
    </body>
    </html>

    This how I send out e-mail(s)
    'emailBean
    import java.io.*;
    import java.net.Socket;
    import java.net.SocketException;
    public class EMailBean {
         private Socket socket;
         private OutputStreamWriter outputStreamWriter;
         private BufferedReader bufferedReader;
         public void start( String subject, String message, String from, String to ) {
              try {
                   System.out.println( "Connection to smtp.host.com..." );
                   this.socket = new Socket( "smtp.host.com", 25 );
                   this.outputStreamWriter = new OutputStreamWriter( this.socket.getOutputStream() );
                   this.bufferedReader = new BufferedReader( new InputStreamReader( this.socket.getInputStream() ) );
                   System.out.println( "Connected!" );
                   System.out.println( "From server: " + bufferedReader.readLine() );
                   send( "helo smtp.host.com" );
                   send( "MAIL FROM:<" + from + ">" );
                   send( "RCPT TO:<" + to + ">" );
                   send( "DATA" );
                   send("Subject:"+subject+"\r\n\r\n"+message + "\r\n.\r\n" );
                   this.outputStreamWriter.close();
                   this.bufferedReader.close();
                   this.socket.close();
              catch( Exception e ) {
                   System.err.println( "Error: " + e.getMessage() );
                   e.printStackTrace();
         private void send( String sendMe ) throws Exception {
              System.out.println( "To server: " + sendMe );
              this.outputStreamWriter.write( sendMe + "\r\n" );
              this.outputStreamWriter.flush();
              System.out.println( "From server: " + this.bufferedReader.readLine() );
    }And the .jsp looks like:
    <jsp:useBean id="mailBean" scope="request" class="EMailBean" />
    <%
    try {
    String date = activateBean.doQuery();
    String from = "[email protected]";
    String to = "[email protected]";
    String subject = "Myserverspy - Activation";
    String emsg = "Dear " + to + ",";
    emsg += "\nsome text here, maybe recive some variables.";
    mailBean.start(subject, emsg, from, to);
    %>
    E-mail has been sent
    <%
    catch(Exception exp){
         System.out.println("Exception: "+exp);
    %>Just insert the parameters into the emsg string.
    Andreas

  • Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9alredy

    Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9 is alredy installed on computer. Is this a 64 bit ossue although I am sure I did not have this problem prior to a replacement hard drive being installed.

    What is your operating system, browser?
    What is the exact message you are getting?

  • Where are files downloaded to on the mac when creating a pdf from web pages?

    where on the mac HD are files downloaded to  when creating a pdf from web pages?
    Im creating web pages from the whole site so creating a large document, so wondered where these fiels are stored on the mac so I can delete when finished as dont want to clog up the hard drive.

    Look at the LiveCycle server products.

Maybe you are looking for

  • How to use COGM ( cost of goods manufactured )

    Hi my company is a consumer goods ( dairy product ) manufacture. I 'm interested to use SBO. I have installed a trial version, and see the process on the SBO using sample database ( OEC Computer ). There is a GL account for COGS ( Cost of Goods Sold

  • Itunes won't sync to my iphone 5s, get error message "you do not have enough access privileges for this operation?

    I keep getting an error message in iTunes when I try and sync my iPhone 5s. Message says "you do not have enough access privileges for this operation?". It is my personal computer and phone.

  • How to make a User Field Read Only?

    Hi, How can i make a title userfield in a Document Form read only? I can't set enabled to false i just want to make it read only. I had tried to capture de key_down event on the user field, nothing happens! I had tried to capture de form_key_down eve

  • Standby Database for Oracle 8.1.7 Std Ed

    Hi, I am using Oracle 8.1.7 std ed with W2K Adv Server. Both primary host and remote host using the same version of oracle and OS. So far both oracle path are identical and the standby folder is same with primary and I don't think I need to add the d

  • Problem in restarting the services in Hyperion 11.1.1.3

    Hi All, We are unable to restart the Hyperion Integration services in 11.1.1.3 version after the configuration. Also we are unable to find the exact log file which shows the error. Kindly guide us whether any specifis log file has to be seen or the c