How to attach an form to email in Apex

Hi friends,
I have a form page with three items in a display only manner.......
In these form region i have a button called submit.......
If i clicked the submit button means, the form page has to be send as an email to the recipient........How to achieve it friends....
But inorder to send a report as a email-----> i can do it by clicking Actions------download-----email.......
so that i can send report as a email.........
How i can send a form page as an email soon after pressing the submit button to the recipient.....
Thanks,
Saro...

Hi Thomas,
Sorry for the late reply....
ya i have captured the form fields, with his details in the email in the display only manner....
This is the following pl-sql email process that i wrote to send an email.....
DECLARE
l_mail_id NUMBER;
l_body VARCHAR2(4000);
l_body_html VARCHAR2(4000);
BEGIN
l_body_html := '<html>
<head>
<style type="text/css">
body{font-family: Arial, Helvetica, sans-serif;
font-size:10pt;
margin:30px;
background-color:#ffffff;}
span.sig{font-style:italic;
font-weight:bold;
color:#811919;}
</style>
</head><body>'||utl_tcp.crlf;
l_body_html :=
'<h1>Laptop Request</h1>'||
'Employee Number: '||:P45_EMPLOYEE_NUMBER||'
'||
'Email Address: '||:P45_EMAIL_ADDRESS||'
'||
'Designation: '||:P45_DESIGNATION||'
' ||
'PF Contact No:'||:P45_CONTACT_NO||'
'||
'Address For Communication: '||:P45_ADDRESS_COMMUNICATION||'
' ||
'Check out Date: '||:P45_CHECK_OUT_DATE||'
' ||
'Project Assigned: '||:P45_PROJECT_ASSIGNED||'
' ||
'Duration From: '||:P45_DURATION_FROM||'
' ||
'Duration To: '||:P45_DURATION_TO||'
' ||
'Status: '||:P45_STATUS||'
' || utl_tcp.crlf;
l_body_html := l_body_html ||'<p>Thank you for your interest in the <strong>APEX MAIL</strong> </p>'||utl_tcp.crlf;
l_body_html := l_body_html ||' Sincerely,
'||utl_tcp.crlf;
l_body_html := l_body_html ||' <span class="sig">The APEX Dev Team</span>
'||utl_tcp.crlf
l_body := 'Request for an Laptop'||utl_tcp.crlf;
l_mail_id := apex_mail.send(
p_to => '<[email protected]>',
p_from => :P45_EMAIL_ADDRESS,
p_body => l_body,
p_body_html => l_body_html,
p_subj => 'Laptop Request With Request No' || :P45_DIS_REQ_ID
apex_mail.push_queue();
END;
Ya, i receiving email but everything is like a plain text.........
It is possible to generate it in an HTML format, so that the form will look as it is like in the application....
For example:
If you see in the report means, through Action------->download-------->email
you can see the reports that generate in an HTML format........
Im asking in the same HTML format for my form to generate, soon after pressing the Button.........
Anychanges in the Process to be done in achieving it....
Thanks
Saro..

Similar Messages

  • How to attached Two file in Email.

    Dear Friends,
    i have an email optoion in my Application .But right now it send mail with out attchment.i want to send meil with attachment .
    i have Two File browser item to attach file ,Please tell me how can i attach these two file with email
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000):=:P1_TO;
    from_add varchar2(1000);
    l_body varchar2(4000):=:P1_DESCRIPTION;
    l_sub varchar2(1000):=:P1_SUBJECT;
    BEGIN
       select email_id into from_add from user_master where user_id=:app_user; 
       l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => l_body,
            P_subj      => l_sub);
      COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How to attached two file in email .
    How can i do this.
    Thanks

    hI,
    thanks to reply me.
    It's REGARDS .
    eg.
    if i am sending any mail then in Bottom of Email Body My Name and Contact No Should be Display.
    Thanks

  • Hi, I am user iPad and I do not know how can attach a file into email e.g. CV.  Thanks

    Hi,
    I am user iPad and I do not know how can attach a file into email e.g. CV. 
    Thanks

    You attach files within the app that creates the file or within the app that the file is saved. For example you email photos from within  the Photos App itself. Typically there will be an action icon within the app - an arrow icon many times - you tap on that to bring other options like Share - then Email.
    Attachments must be mailed within the apps themselves.

  • How to attach selected iphotos to email?

    How to attach selected iphotos to email?

    It looks like this, however Terence Devlin is correct need to know what version of iPhoto you have.  This is how it looks in version 9.4
    Cheers

  • TS2928 could someone please tell me how to attach a document to email as an icon that opens....so it does not appear as text in the email??

    could someone please tell me how to attach a document to email as an icon that opens....so it does not appear as text in the email??

    Paste this into Terminal and hit return. If this attachment is text, it should work. Not sure about jpegs.
    defaults write com.apple.mail DisableInlineAttachmentViewing 1
    To reverse the setting, change the 1 to a 0.

  • How do I send form to email?

    How do I send my form to email?

    I am not certain I understand your question, but if you want to send your form to specific email addresses the best way to do this is to send it as an attached PDF in your email client.
    Andrew

  • How to attach file with an email in travel and expenses

    Hi Experts,
    I am new to sap cloud application studio.
    We have requirement that need to attach any type of files in the mail,
    I have gone through this : How to send an email with attachments in SAP Cloud Application Studio
    But compilation error at import AP.FO.ACTIVITY.GLOBAL., so not able to work with that lines of code.
    I am using these lines of code to send email.
    EMailUtilities.SendEMail(lang, bcc, cc, toAddress, htmlContent, from name, subject);
    So am not able to getting how to attach file with this code.
    Please help me regarding this.
    Thanks & Regards,
    Preethi Ande

    Hi Preethi,
         I am trying to send mail from custom BO in Travel on Demand System.I am getting  compilation error.please look into the attached screenshot for the code.
    Please assist me on this,                                Thanks in advance
    regards,
    Sendhilazhagan

  • Hello I have modified a PDF on my android tablet but can't find how to attach it to an email.

    Hello, I have modified the text on a document but have been unable to attach it to an email. Please help.

    Do you see that extension in Firefox > Add-ons > Extensions ?
    Click the orange Firefox button and click Add-ons in the right column to open the Add-ons page in a Firefox tab.<br />
    Click the Extensions tab to see all installed extensions.<br />
    Look for the "Default FullZoom Level" extension and click the Options button to see the settings of that extension and change the setting to your liking or leave them at the default.
    You can find a "Default FullZoom" toolbar button and a few more zoom buttons that you can drag on a toolbar in the toolbar palette in the Customize window.
    Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    *https://support.mozilla.com/kb/How+to+customize+the+toolbar
    If you do not see the orange Firefox button then open the Tools menu and select Add-ons from that menu.
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily if you need to access the hidden menu bar.

  • How to attach scanned doc to email? (iPad 1)

    I would like to email docs scanned in from HP AIO.  How do I do that? Note: iPad 1, with no camera or camera roll)

    Start in the Photos app and use the icon top right of the box with the arrow coming out of it to select the photo and attach it to an email - if you are in thumbnail view in the Photos app you can use the same icon to select up to 5 photos to attach to an email via the Share button at the top left of the screen

  • How to attach doc file in email

    How to attach doc file in email

    Hi and Welcome to the Community!
    Since you have balance, and the issue is in your Work domain, you need to work with your server admins, as it's possible they are forbidding (via IT Policy) the ability to do as you desire.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to send offline forms as email in Portal level.

    hello friends,
    i am struck with a task.I need to send adobe forms as attachment to email to non sap users(i,e offline mode).this task has to be configured for managers using mss service(i.e through portal)...
    how this can be done?
    any material will be highly appreciated.

    Hi,
    Try to use this one
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    Hope it can solve your problem!
    Good luck!
    Tao

  • How to create a form for email?

    Hi all,
    I use 1 and 1 for hosting however they do not have a form script available with
    the package I have.
    What is the best way to put a simple form on my site? One that would be for
    entering an email for a free report/newsletter is what I am shooting for?
    I was told there are a couple free wysiwyg ones, however I tried them and when
    you copy the code and use it in DW it does not come out looking very well, or
    at least I couldn't get it to work. So I would like to do it the right way and of
    course the lowest cost way of doing it.
    Any help is greatly appreciated...regards, ..dano

    Hello,
    Yes I have no doubt the code is messed up
    I guess I should start from the beginning. Here is the original code below for the form code that I recieved from
    my hosting Company to use.
    However all I need is the email field and a submit button and not the other fields. That is probably how
    I managed to mess up the code, I was trying to take out the other fields, line it up etc and most likely did a pretty
    good hack job.
    I tried this original code and yes your right it really did mess up the side bar terribly.
    Here is the original code my hosting Co gave me before I made a mess out of it.
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Contact Us</title>
    <link rel="stylesheet" type="text/css" href="../../css/nms.css" />
    </head>
    <body>
    <form method="post" action="mail.php">
      <table>
       <tr>
        <td>What is your name ?</td>
        <td><input type="text" name="name" /></td>
       </tr>
       <tr>
        <td>What is your e-mail address ?</td>
        <td><input type="text" name="email" /></td>
       </tr>
        <tr>
        <td> Comments:</td>
        <td><textarea name="data" cols=40 rows=6></textarea></td>
        </tr>
       <tr>
        <td colspan="2"><input type="submit" /></td>
       </tr>
      </table>
    </form>
    </body>
    </html>
    Here is my site and where I wanted to put this was on the very top
    of the right side-bar, just above the words Customer Testimonial.  here
    is my site wwwdotselfdefenseproshopdotcom
    Thanks for any help...
    Regards,

  • How to attach a file to email

    How do I attach like a bank statement  which says a pdf file to my yahoo email?

    Are you using Apple's Mail program?  Or a web browser like Safari?   Either way, while composing a message look for a button with a paper clip symbol on it.  Clicking on that will then give you a dialog box for selecting the attachment.  In Mail you can also just drag and drop files into the message window.
    charlie

  • How to attach custom form on E-separation request

    Hi,
    when I click on separation request i get following form..how can i make changes in this form..
    do u know which standard form it s calling...!
    Regards,
    Vijay Agarwal

    Hi,
    Either INEA_RDF_S Request Details FOrm or INEA_FRD_S Request Details Form  is getting called.
    You can check the forms used in E-separation  in the package PAOC_ESEP_CORE as shown below
    Regards,
    Jyothi

  • How to attached a file to email?

    I want to send an email with an attachment but do not see icon for attachment.

    Read http://support.apple.com/kb/ta38611?viewlocale=en_us

Maybe you are looking for

  • The older version of itunes cannot be removed. contact your technical support group.

    need help with itunes 12.1 my itunes was working just fine on my windows 7 pro PC. Update 12.1 popped up and I clicked download and install and now all of my itunes is gone. I uninstalled all Apple software packages, and also pain stakingly went thru

  • Excise invoice not getting converted into INR from USD for an IMPORT PO

    Hi All I have posted one Import PO. Did MIRO for custom and CVD. MIRO doc was in USD which is getting converted into INR as per the exchange rate maintained in OB08. Then I did MIGO with the ref of comm invoice of MIRO. Now MIGO doc is posted in INR

  • Coherence not working on AIX

    Hi, Installed coherence, even the new 3.7.1.6 full distribution. but when it started, it raised an exception about socket: bash-3.2# ./coherence.sh ./coherence.sh[11]: pushd: not found. ./coherence.sh[15]: popd: not found. ** Starting storage disable

  • 今天早上数据库出现一个怪问题,

    早上业务部分和我说数据库连不上,首先ssh连接至数据库 sqlplus / as sysdba习惯性登入,卡住,无反应 再去查看alert.log Mon Nov 19 08:33:08 2012 ksvcreate: Process(m000) creation failed Mon Nov 19 08:35:16 2012 ksvcreate: Process(m000) creation failed Mon Nov 19 08:51:37 2012 kkjcre1p: unable to

  • Flash Player + Safari = Outdated / Non-Existent

    So as it stands right now, any site that requires a flash player...or any "updated" software for this matter, can not be played via iPhone. Any fix?