Mail to Form Code Confussion

Hello everyone. I am having an issue with my Mail to Form code. It's not so much a technical one (I don't think it is anyway) It's mostly I don't understand what information to plug into a couple parts. I will post the code here (leaving out everything before the "body") and hopfully some one can help me out.
<body>
<div class="style1" id="apDiv1">Call Request Form</div>
<div id="apDiv2">
  <div align="center">Please fill out this form and a Beta Test Studios represenetive will contact you as soon as possible. Thank you.</div>
</div>
<div id="apDiv3">
  <div align="center"><strong>Please tell us wher you heard about Beta Test Studios</strong></div>
</div>
<FORM METHOD=POST ACTION="[email protected]" ENCTYPE="text/plain">
<table width="311" height="480" border=0 cellpadding=20 cellspacing=0>
<tr>
<td height="327"><font size=2 face="arial" color="#000000">
<input type="text" name=Name size=27 />
:Name<BR>
<INPUT type="text" name=Phone size=27 id="Phone">
:Phone<BR>
<INPUT type="text" name=Call time size=27 id="Call time">
:Time to Call<BR>
<INPUT type="text" name=email size=27> :E-mail
</font></td>
</tr>
<tr>
<td width="230" height="62">
<SELECT name="choices" size=1>
<OPTION selected> Please Choose
<OPTION> Google
<OPTION> Yahoo!
<OPTION> Newspaper/Magazine
<OPTION> Word of mouth
<OPTION> Other
</SELECT></td>
</tr>
<tr>
<td height="91">
<font size=1 face="arial" color="#000000">
<center>
<INPUT NAME="redirect" TYPE="hidden" VALUE="index.html">
<INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html">
<INPUT type=submit value="Send">
<INPUT type=reset value="Clear">
</center></td></tr></table>
</FORM>
<!-- ** END OF FORM ** -->
</body>
</html>
I am having a problem understanding exactly what I am supposed to put here near the very bottom after <INPUT NAME="redirect" TYPE="hidden" VALUE=    and after <INPUT NAME="NEXT_URL" TYPE="hidden" VALUE=    I know that I am supposed to replace the "index.html" part in both lines I am not sure what I am supposed to replace it with. Any help would be appreciated. Thanks so much.

Hi,
What are you trying to do exactly?  If you would like to make a piece of text link to a mailto code where, if clicked, it will automatically open up that person's email with a blank email page with u as the receiver, then all you have to do in Dreamweaver is..
1.  Highlight all the text you want the link to the email to be.
2. Go to the "link" window in the properties panel under the main viewing window
3. Type in "mailto:youremailhere" without the quotes of course and that will create the link I believe you might be looking for.
If this is not the nature of your problem please be more descriptive.

Similar Messages

  • Is this (mail sending form) code right ?

    I'm not a developer , my boss gave me this php code for sending form data to his mail ..
    is this code right cuz it doesn't seem to work fine ?
    <? php
    $to = "[email protected]";                                                                                                                     
    $cc = "[email protected]";                                                                                                                     
    $bcc = "";                                                                                                                     
    $subject = "Tailor Request Form";                                                                                                                     
    $msg = "                                                                                                      
    <table border=\"1\" width=\"600\">
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Titel</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$title."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Country</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$country."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Phone</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$phone."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>E-mail</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$Email."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Tour Package</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TravelType."</td>
    </tr>
    </table>";                                
    $from = "From: ".$_POST['Email'];                                                    
    $html = "Content-Type: text/html";                                                    
    $headers = $html."\r\n".$from."\r\n".$cc."\r\n".$bcc."\r\n";                                                    
    //$headers .= "cc: [email protected]\r\n";                                                    
    mail($to, $subject, $msg, $headers);?>

    <?php
    $to = "[email protected]";                                                                                                                      
    $cc = "[email protected]";                                                                                                                      
    $bcc = "";                                                                                                                      
    $subject = "Tailor Request Form";                                                                                                                      
    $msg = "                                                                                                               
    <table border=\"1\" width=\"600\">
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Titel</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$title."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$last_name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Country</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$country."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Phone</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$phone."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Fax</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$fax."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>E-mail</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$Email."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Tour Package</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TravelType."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Transportation</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DTransportation."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Number Of Persons</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$NumberofPersons."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Number Of Children</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$NumberofChildren."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Single Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$SingleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Double Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DoubleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Twin Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TwinRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Triple Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TripleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">1<sup>st</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit1."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">2<sup>nd</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit2."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">4<sup>th</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit4."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">5<sup>th</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit5."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Between Aswan and Luxor</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TransportationFromAswanToLuxor."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Preferable Arrival Dates</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$ArrivalDay." - ".$ArrivalMonth." - ".$ArrivalYear."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Preferable Departure Dates</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DepartureDay." - ".$DepartureMonth." - ".$DepartureYear."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Special Interests</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=justify><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$SpecialInterests."</td>
    </tr>
    </table>";                                
    $from = "From: ".$_POST['Email'];                                                    
    $html = "Content-Type: text/html";                                                    
    $headers = $html."\r\n".$from."\r\n".$cc."\r\n".$bcc."\r\n";                                                     
    //$headers .= "cc: [email protected]\r\n";                                                    
    mail($to, $subject, $msg, $headers);                                   
       ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Delta Tours Egypt</title>
    <style type="text/css">
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <div id="header"></div>
      <div id="menu">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="about_egypt/about_egypt.html" class="MenuBarItemSubmenu">About Egypt</a>
            <ul>
              <li><a href="about_egypt/people.html">People</a></li>
              <li><a href="about_egypt/climate_clothes.html">Climate &amp; Clothes</a></li>
              <li><a href="about_egypt/transportation.html">Transportation</a></li>
            </ul>
          </li>
          <li><a href="cities_info/cities_info_main.html" class="MenuBarItemSubmenu">Cities Info</a>
            <ul>
              <li><a href="#">Cairo</a></li>
              <li><a href="#">Luxor</a></li>
              <li><a href="cities_info/aswan.html">Aswan</a></li>
              <li><a href="cities_info/red_sea.html">Red Sea</a></li>
              <li><a href="cities_info/sinai.html">Sinai</a></li>
              <li><a href="#">Oasis</a></li>
            </ul>
          </li>
          <li><a href="#">Hot Deals</a>      </li>
          <li><a href="#">Tailor Mode</a></li>
          <li><a href="about_us/about_us.html">About Us</a></li>
          <li><a href="contact_us.html">Contact Us</a></li>
        </ul>
      </div>
      <div id="mainMenu">  <ul>
    <li><a href="index.html">Home</a></li>
    <li><a href="tours/tours_main/classical_tours.html">Tours</a></li>
    <li><a href="hotels/hotels_home.html">Hotels</a></li>
    <li><a href="#">Cruises</a></li>
    </ul></div>
      <div id="content">
       <div id="conTop"></div>
       <div id="conBg">
          <div id="spotlight">
           <p><strong><em>Your information has been submitted <br />
            one of our operators will contact you within<br />
    24 hours for further details </em></strong></p>
    <h5 class="signature"><em><strong>Delta Tours Team </strong></em></h5>
                  <br class="clear" />
         </div>
         </div><div id="conBot"></div>
    </div>
         <div id="footer">
      <div id="footerTop"></div>
      <div id="footerMid">
        <p>Home | Tours | Hotels | Cruises | About Egypt | Cities Info | Monuments & History | Hot Deals | Tailor Made | About Us | Contact Us | links</p>
        </div>
      <div id="footerBot"></div>
      </div>
    <div id="copyRight">deltatoursegypt.com © 2012 .All rights reserved.</div></div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

  • How send mail from forms 10g

    hi all,
    can any help in this,
    i want send a mail from forms 10g,how???
    thanx in advace,
    chands

    hi,
    my oracle version is 10.1.0.4.2
    this is my code....
    PROCEDURE Send_Mail_001 (sender IN VARCHAR2,
    recipient IN VARCHAR2,
    subject IN VARCHAR2,
    message IN VARCHAR2)
    IS
    mailhost VARCHAR2(30) := '10.192.30.12';
    mail_conn utl_smtp.connection;
    TEST VARCHAR2(100);
    crlf VARCHAR2(2):= CHR( 13 ) || CHR( 10 );
    mesg VARCHAR2(2000);
    BEGIN
    mail_conn := utl_smtp.open_connection(mailhost,25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: ' || sender || crlf ||
    'To: ' || recipient || crlf ||
    'Subject: '|| subject || crlf;
    mesg:= mesg || ' ' || crlf || crlf || message ||'.' || crlf || '.'|| crlf;
    UTL_SMTP.OPEN_DATA(mail_conn);
    utl_smtp.write_data (mail_conn, mesg);
    /* body of email with multiple
    utl_smtp.write_data (v_mail_conn, v_message);
    call to write_data
    utl_smtp.write_data (mail_conn, mesg);
    UTL_SMTP.CLOSE_DATA(mail_conn);
    utl_smtp.quit(mail_conn);
    premia_wf_log('mail','hi');
    EXCEPTION
    WHEN OTHERS THEN
    premia_wf_log('mail',sqlerrm);
    END;
    can u help me in this..........
    thanx in advance
    chands

  • Uncaught Exception occured while sending mail through abap code.

    Hi,
    Uncaught Exception occured while sending mail through abap code.Run time Errors "UNCAUGHT_EXCEPTION" occured after excuting the call method  CALL METHOD SEND_REQUEST->SEND( ).kindly help in resolving the issue.

    HI,
    Runtime Error:  UNCAUGHT_EXCEPTION details.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_ADDRESS_BCS
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_ADDRESS_BCS' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program 'SAPLZSEND_MAIL' has to be
         terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_ADDRESS_BCS', was not caught in
        procedure "SEND_MAIL" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An exception occurred
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_ADDRESS_BCS"
        "SAPLZSEND_MAIL" or "LZSEND_MAILU01"
        "ZSEND_EMAIL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SEND_MAIL" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    Please help me to resolve this issue.

  • NEED TO SEND MAIL FROM FORMS...

    DEAR ALL,
    I NEED TO SEND MAIL FROM FORMS WHEN I PRESS THE MAIL BUTTON.
    I HAVE NO IDEA FOR THIS CRITERIA. IF ANY ONE EXPERIENCED WITH
    THIS CRITERIA, PLS HELP ME AND GIVE ME THE CODING FOR THAT.
    AND ALSO PLS EXPLAIN EACH LINE OF CODING, WHICH U POST.
    THANKS IN ADVANCE
    S.BERNANDAS

    Your requirement can be done in forms. Good amounts of advice here. There 244 messages this year alone that fit the search criteria in the Oracle Forms forum.

  • Adobe form code initialization with HCM Processes and Forms?

    Hi,
    We're trying to dynamically determine some language-dependent text label values in the form interface code initialization routine before displaying an interactive PDF form. All works fine when using the transaction SFP test tool, label values are dynamically determined using the code on the PDF printout.
    However in our case, the interactive form is embedded in a HCM P&F scenario and when launching the process form WDA application from the UWL, it looks like the same code initialization code is executed (when debugging it) but the values are not updated on the PDF when displaying.
    Any ideas how to go forward? Should we instead be using an ISR BAdI or such to do the same thing? We do not want to store all the label fields in the HCM P&F form scenario, because they are not supposed to be stored in HCM, we just need to dynamically display some text labels on the PDF form.
    We're on SAP ERP 6.0 EhP4, NW 7.01.
    Best regards,
    Mikko

    Hi Chris,
    thanks for your answer. Just to give you some background on the requirement, we are dealing with the public sector and they are let's say quite strict about form appearances
    To elaborate more, we have a need to build a single work contract printout PDF form for all the company codes (embedded into a second form scenario in our HCM P&F hiring process), because 90% of the layout and of all the labels in the work contract are common to all ccodes. Unfortunately for us, there are however some static texts / text labels with their translations whose customer requirements vary between the company codes. In addition, the customer is not ready to harmonize these texts mostly because of legal reasons. An example of this is as follows:
    - ccode 1 label: work contract (+ translations to several languages)
    - ccode 2 label: work contract approved by local union (+ translations to several languages)
    - ccode 3 label: work contract signed and approved by local union and company (+ translations to several languages)
    As silly as the requirement may seem, they are not ready to harmonize these labels into a single label because of these reasons (we have tried this many times without much success and told them about the technical difficulties to come). So we need to come up with a working solution
    What we have gone forward with so far is a Z-table containing all the dynamic texts and their translations. We are now just looking for a way how to dynamically populate PDF form label values upon runtime. In normal PDF print form cases (= without HCM P&F involved), the code initialization routine works just fine. We bind the label values to the form interface elements and then upon runtime we populate the interface elements in the routine based on the incoming company code value.
    But this is where we are stuck now. It seems HCM P&F somehow prevents or overwrites the changes done in the PDF forms code initialization routine when launching the PDF form from UWL and the HCM P&F process form WDA app and I'm looking for ways to make it happen.
    Any ideas?
    Kind regards,
    Mikko

  • Embedding form code into a lightbox

    Hello,
    I am working on a simple test page trying to figure out lightboxes.
    I have it almost functional based on examples I found online, however, I am stuck.
    I can't seem to figure out how to embed my form code into the lightbox successfully.
    Basically, I need to replace the image that pops up with my form.
    My form code is:
    <script charset="utf-8" src="//js.hubspot.com/forms/current.js"></script>
    <script>
      hbspt.forms.create({
        portalId: '206683',
        formId: 'ecaa931c-1fc4-4b96-8aea-b040169f449d'
    </script>
    My test page is located at http://online.saintleo.edu/Lightbox/Lightbox.html.
    As usual, you guys/gals are great and I appreciate all that you do.
    Kind regards,
    JK

    Yes, that it correct.
    Ok, so I switched to FancyBox 2 and am just trying to figure out where/how to embed my form script......
    <script charset="utf-8" src="//js.hubspot.com/forms/current.js"></script>
    <script>
      hbspt.forms.create({
        portalId: '206683',
        formId: 'ecaa931c-1fc4-4b96-8aea-b040169f449d'
    </script>
    My new basic sample FancyBox page is here:
    http://online.saintleo.edu/FancyBox2/FancyBox2.html
    Thanks again for the help, your guidance is greatly appreciated.
    Kind regards,
    JK

  • Embedding form code into website

    I've tried several times by copying the form code and pasting it into the html coding area of the website and when I go over to the visual side it shows nothing...

    Yes, that it correct.
    Ok, so I switched to FancyBox 2 and am just trying to figure out where/how to embed my form script......
    <script charset="utf-8" src="//js.hubspot.com/forms/current.js"></script>
    <script>
      hbspt.forms.create({
        portalId: '206683',
        formId: 'ecaa931c-1fc4-4b96-8aea-b040169f449d'
    </script>
    My new basic sample FancyBox page is here:
    http://online.saintleo.edu/FancyBox2/FancyBox2.html
    Thanks again for the help, your guidance is greatly appreciated.
    Kind regards,
    JK

  • Form Code Execution

    Hi,
    Is it possible that we can execute the Oracle Form code on the fly, like PL/SQL Code using the Execute Immediate.
    Scenario
    Declare
    lv_block_name Varchar2(100);
    lv_item_name Varchar2(100)
    Begin
    lv_block_name := :System.current_block;
    IF lv_block_name = 'XYZ' Then
    lv_item_name := :system.current_item;
    end;
    I have store this sample code in the database, and I goona pass this code to the Oracle Form library and want it execute in the Library..... Any solution or idea...
    Thanks,
    Edited by: Mohsin on Feb 22, 2011 1:18 PM

    There is no such thing like "Dynamic Forms PL/SQL" or whatever you want to call it. Dynamic SQL is executed on the Database Server, and thus the Forms Builtins cannot be executed as the Database doesn't understand them.
    However; even if you just want to store Database PL/SQL in Tables I wouldn't dare to go down that road.
    First of all it's a nightmare to maintain as a recompile of your forms won't fail when you change your objects which would brake your code but as it's all dynamic nobody can tell. Also have fun debugging your dynamic routines when you search for bugs (yes, you will have bugs, no one writes error free code). Second is that it's a unnecessary overhead (retrieve the logic from the database, parse it and execute it again) leaving alone that you most certainly will trash the Shared Pool of the database. Your solution will seriously suffer from performance and will never scale, that's for sure. And of course you will have a serious security issue. The day someone get's access to your table where your code is stored is the day your database will start to behave abnormal and you most certainly will loose data.
    So don't think about implementing such a silly approach no matter how cool you think it is: it's not. It's a nightmare and a risk from every single point of view.
    Storing PL/SQL in the database is already invented: it's called stored procedures. Storing somewhat generic Forms PL/SQL is also already invented: it's called Library. Don't try to reinvent things which already exist as your solution most certainly won't work as good as the one already provided by oracle.
    cheers

  • Mail to forms

    How can I go about creating a mail to form which will email me for the data users enter?
    Thanks

    Check with your web host.  Often they have scripts pre-installed on the server which you can reference in your HTML form.
    If not, ask them which programming languages your server supports (PHP, ASP, ASP.net, Perl, ColdFusion, etc...)
    If your server supports PHP, this form-to-email script from DB Masters is very good.
    http://dbmasters.net/index.php?id=4
    Or, Forms to Go from Bebosoft (script generating software)
    http://www.bebosoft.com/products/formstogo/overview/
    Or, Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Who send mail from Forms 6i Builder?????

    I need send mail from Forms 6i Builder
    Please help me.
    Write me to [email protected]
    thanks.

    I need send mail from Forms 6i Builder
    Please help me.
    Write me to [email protected]
    thanks.

  • E-Mails using ABAP code

    Hi Experts,
    Please tell me how to send an e-mail  using a ABAP program.
    i have one variable having a calculated value and i need to send this value using the same program as E-mails.

    Here is a fairly generic procedure to do that.  You'll need to supply p_addr as the email of the recipient.
    * FORM send_email_message
    *  Routine to mail report to person
    FORM send_email_message
      TABLES
        p_t_message TYPE STANDARD TABLE.
      DATA:
        l_t_packing_list TYPE TABLE OF sopcklsti1,
        l_t_receivers    TYPE TABLE OF somlreci1,
        l_s_packing_list TYPE sopcklsti1,
        l_s_receivers    TYPE somlreci1,
        l_doc_data       TYPE sodocchgi1,
        l_sent_all(1)    TYPE c,
        l_subject_cnt    TYPE i,
        l_subject        TYPE string,
        l_email_addr     TYPE bapiadsmtp-e_mail.
      FIELD-SYMBOLS:  <selopts>       TYPE ANY.
      FIELD-SYMBOLS:  <selopts_oncall> TYPE ANY.
      DESCRIBE TABLE p_t_message LINES l_subject_cnt.
      l_subject = l_subject_cnt.
      CONCATENATE l_subject text-004 sy-sysid INTO l_subject SEPARATED BY space.
      CONDENSE l_subject.
    * Fill the document data.
      l_doc_data-doc_size = 1.
      l_doc_data-obj_langu = sy-langu.
      l_doc_data-obj_name  = 'SAPRPT'.
      l_doc_data-obj_descr = l_subject.
      l_doc_data-sensitivty = 'F'.
    * Describe the body of the message
      l_s_packing_list-transf_bin = space.
      l_s_packing_list-head_start = 1.
      l_s_packing_list-head_num = 0.
      l_s_packing_list-body_start = 1.
      DESCRIBE TABLE p_t_message LINES l_s_packing_list-body_num.
      l_s_packing_list-doc_type = 'RAW'.
      APPEND l_s_packing_list TO l_t_packing_list.
    * For each on-call schedule in the selection screen, get the person
    * on call and add them to the receiver list.
      l_s_receivers-receiver = p_addr.
      l_s_receivers-rec_type = 'U'.
      l_s_receivers-com_type = 'INT'.
      l_s_receivers-notif_del = ' '.
      l_s_receivers-notif_ndel = ' '.
      APPEND l_s_receivers TO l_t_receivers.
    * Call the FM to post the message to SAPMAIL
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = l_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = l_sent_all
        TABLES
          packing_list               = l_t_packing_list
          contents_txt               = p_t_message
          receivers                  = l_t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0
      OR l_sent_all <> 'X'.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      PERFORM flush_mail_queue.
    ENDFORM."
    * Flush mail queue
    FORM flush_mail_queue.
      SUBMIT rsconn01
        WITH mode = 'INT'
      AND RETURN.
    ENDFORM."

  • How to learn form code well?

    i don't know how to learn form code well and where to learn it?
    i also don't know how to learn html code well and where to learn it?
    because of form code ,html code , javascript code and so on are to be used with
    php code and oracle pl/sql code?
    who can tell me some good places to learn these knowledge ?

    Hi,
    You have to learn it by yourself by reading/practicing some good books..
    This is a good place to start on for HTML/Javascript..
    http://www.w3schools.com/

  • Notification mail display garbled code !

    Hello experts,
    I had configurated UWL and integrated CRM system.
    The workflow of CRM will create mail automaticly , and display the mail in Portal notification iview.
    All of the English mails work fine , but all the Chinese mail display garbled code.
    Is there any guys met this problem too?
    Please give me some advice.
    BR,
    Jianguo Chen

    Hi,
    To see list of mail u can user SOST T-code and for Mail Admin you can use SCOT.
    Regards
    Deepu

  • Failed to send the mail message error code: -49

    Hi,
    When sending mail outside the company (outside the domain), getting this error: Failed to send the mail message error code: -49
    When sending mail internally (within the domain) successfully submitted.
    I was looking for notes relating to the subject but could not find anything that helped me
    I would appreciate your help,
    Hilla

    Hi Gordon,
    The problem was solved, the customer changed his ip adress on the server and it's OK now!
    Thank you !!
    Hilla.

Maybe you are looking for

  • How can I stop itunes password box from constantly popping up after ios 7 update?

    After ios7 update I am CONSTANTLY interrupted with the itunes pop up box for me to enter my password as if Im making a purchase when Im not. When I unlock my phone it pops up. When Im in the middle of playing a game it repeatedly happens. When Im on

  • Confused with ME_PROCESS_REQ_CUST PROCESS_ITEM

    Hi All, I'm using ME_PROCESS_REQ_CUST PROCESS_ITEM and check to validate a line item. Lets say i have 2 line items I entered line item 1 and hit enter then i'm getting the custom messge that i put in process_item and in this method i'm setting a glob

  • Wat is the advantage of force view?

    hello, only i know that it is created object in db and after tat we can create the table as per requirement. please tell me wat is the main advantage of Force View? Tks PM

  • Special characters failing in wiki

    Anyone reporting the same problem? Try attach a dokument in a wikipage containing a special character, if the result is a missing png as the download/hower image, you experiencing the same as me. I guess its the .png generator that is non utf-8/unico

  • Network shares in LR2?

    I have both a MacBook and an iMac. What I'd like to do is the following: Master data on a (wireless) network share, and to be able to access this data one-at-a-time from LightRoom. Ideally, I'd like to sync these data onto the MacBook and iMac as wel