CLIENT_HOST the (body part) to be multi line

Dear All,
Am using Oracle Developer Suite 10g "Form Builder"
I am using the following Code:
CLIENT_HOST('rundll32.exe url.dll, FileProtocolHandler "mailto:xx.xx@com?subject=mysubject&body=mybody"');
I need the (body part) to be multi line
Example:
-- Start example --
Dear Sir,
Kindly find the following number ----- for your information
Best Regards
-- End example --
Can anyone help me
Best Regards
Adel Hafez

Have you tried creating a variable for the body and using chr(10) or chr(13) to do the multiline?.
i.e.
vc_body :=
"Dear Sir," || chr(10) ||
"Kindly find the following number" ||chr(10) ||
"--------------------------------------------------------------------------------" || chr(10) ||
" for your information" || chr(10)
"Best Regards" ;
Then in your client_host you just concatenate the variable.
CLIENT_HOST('rundll32.exe url.dll, FileProtocolHandler "mailto:xx.xx@com?subject=mysubject&body=" || vc_body);
Edited by: Rodolfo Ferrari on Jun 17, 2009 4:00 PM

Similar Messages

  • Displaying fields in the body part

    I have a feeling this is something that should be chrystal clear, but the only record information I'm able to view in Browse mode are the fields that are in the header. I can't get anything in the body part to display. Searched through help but can find any reference to what it is my little pea brain is not getting...
    Any help, I hope? Thx...
    powerbook G4   Mac OS X (10.4.4)  

    I wonder if you are confused about which section the body is: In Layout mode, the body is the part above the horizontal line labelled "body", not below it.
    That line limits the size of the body area. Anything below it will not be displayed in browse mode.

  • Moving the external part of a BT Line

    We have just bought a house and have noticed that the BT line which is attached to the facia is coming out. The facia is made of wood and is starting to rot. Is it BT's responsability to come and sort it out. If it comes away, it will fall into the road from the telegraph pole. All the other houses in the street have the line connected to the brick work and not the facia.
    Regards,
    Kevin

    It seems that the fixing to wood boards is a thing of the past judging by the repairs carried out here after a traffic accident took out a pole with 11 lines on it they were all to wood facia but replaced by brick work connections as said only openreach can do that via your line supplier  and at your cost
    If any post helps tick the star box on the left
    Just cause Im paranoid dont mean they are not out to get me

  • Cutting the Last Part of a Multi-Track Project & Pasting It Into a New One

    I've recorded 55 mins. of audio on a two separate tracks (i.e., one is narration, one is some intermittent dialogue), only I've decided to cut the first "chapter" to only 30 mins. and transfer the other already-recorded stuff to the second chapter -- which will be a new project I'll start.
    How do I cut-and-paste the material? Can you open a new project and keep it open at the same time you are going back to the old one? I.e., can you have two screens of it up at the same time, or do you have to copy one, close out the project, open the second project, paste it, then close that one and go back to the first one and repeat?
    I know this may seem hopelessly beginner a question, but...please help?

    Although the point of this article is different, the explanation in it will show you how to copy between projects:
    http://www.bulletsandbones.com/GB/Tutorials.html#allaboutrescuingfiles

  • Multi-line Banners

    Hi,
    I have an ASA 5505 running 8.2(2).  What's the correct syntax for creating multi-line exec and login banners? The only examples that I've been able to find have very short banners.
    Any guidance would be appreciated.
    Thanks,
    Gregg

    Hi Gregg,
    You can enter multi-line commands as a part of User-defined and Adhoc tasks.
    The multi-line commands must be within the tag and .
    These tags are case-sensitive and you must enter them only in uppercase.
    You cannot start this tag with a space.
    Example
    banner login "Welcome to
    CiscoWorks Resource Manager
    Essentials - you are using
    Multi-line commands"
    You can have a blank line within a multi-line command. The commands within
    the MLTCMD tags are considered as a single command and will be downloaded as
    a single command onto the device.
    I hope this will work for you !!!
    Thanks--
    Afroj

  • Cannot Read Body Parts for certain messages on IMAP Server

    Hi There
    I get the following exception on some (not all) messages when trying to extract and save body parts from an email message on the IMAP server. I can iterate through all the body parts, get the filenames, etc. but when I try to read them I get the following error. Any ideas?
    It is MS Exchange (not sure what version) and seems to happen more when there are multiple file attachments or embedded images. We also have a POP3 option and this seems to work fine, only fails when using IMAP...
    java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
    DataHandler dh = bodyPart.getDataHandler();
    dh.writeTo(baos); // <=== Exception here
    TYPE=TEXT/PLAIN; name="New Text Document.txt"/Disposition=attachment
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:130)
         at com.sun.mail.iap.Response.<init>(Response.java:87)
          at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
         at com.sun.mail.iap.Protocol.command(Protocol.java:263)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:1234)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:1226)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:994)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:983)
         at com.sun.mail.imap.IMAPBodyPart.getContentStream(IMAPBodyPart.java:169)
         at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:94)
         at javax.activation.DataHandler.writeTo(DataHandler.java:297)
         at com.workpool.interactionservices.EmailMessageUtils.saveBodyPartToFile(EmailMessageUtils.java:250)
         at com.workpool.interactionservices.EmailMessageMimeConvertor.processBodyPart(EmailMessageMimeConvertor.java:305)

    I presume the work around you refer to is to make a copy
    of the message? That's all I could find in the FAQ under
    IMAP. I'll try that.
    Unfortunately the server is sitting with a client on their LAN
    and we don't have remote access for debugging. We don't
    currently have a way to easily enable debugging for testing.
    Getting access for testing can take a few days ... but I shall
    do this if the work around does not work.

  • Re: Sending report output in the body of Email (Not as an attachment)

    Hi,
    My requirement is to send the report output in body part of the mail itself.  I am able to send the mail with the output as an attachment but requirement is it shoud be in the body part not as an attachment..
    Thanks,
    Anshuman.

    Hi Anshu,
        Can you please let me know is the ERMS configured in your system or you are sending
        the mail to the customer using Action Profiles. If you are sending the mail using a smartform
        assigned to an Action profile  then you can display that report internal table data or etc.. in
         the smartform itself so that the output data will be available in the e-mail body itself.
        Please let me know the way you are sending the e-mail if the above ones are incorrect.
    Thanks
    Arun

  • Multi line HTML data formatting on SSRS reprot

    Hi
    I am  using SQL Server Reporting Services 2008 , data fetching by Project server database,data value is getting by multi line rich text field.
    when showing same data in HTML format
    on ssrs reports its shows every style what ever user copy and paste on particular field like font size ,colors and them.
    I have requirement to show unique font size and unique family font,I am unable to achieve this using lot of placeholder properties.
    below u can find the example
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Hasan,
    According to your description that the some of the report data retrieved by multi line rich text field, which style show differently in the report, you have tried to create the placeholder using the HTML tag to format the data
    but failed to achieve, right?
    The issue due to the rich text formatting is not supported in SSRS 2008, Currently, you have mentioned that you tried to using the HTML tag to reformat the text but failed, that may due to Reporting Services support limit HTML tags when defined as placeholder
    text. Please see:
    • Hyperlinks: <A href>
    • Fonts: <FONT>
    • Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    • Text format: <B>, <I>, <U>, <S>
    • List handling: <OL>, <UL>, <LI>
    In your scenario, I recommend you to take reference of method below to get the unique format text.
    Check the supported HTML tag and using the correct tag to format
    If you want to get the RTF format:
    If using Report Viewer Windows control, we can render the RTF file into IMG file, and then display the image on the report.
    Nayan Patel written good artilce about this:
    http://binaryworld.net/Main/CodeDetail.aspx?CodeId=4049
    This article give us the idea to convert RTF to image and then display on the report.
    You can also convert the RTF text to the plain text which by default in the report:
    Article have details method about the convert for your reference:
    http://stackoverflow.com/questions/2987501/rtf-to-text-in-sql-server
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Similar threads for your reference:
    RTF in SSRS - SQL 2008 R2
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Personally, I recommend you that submit this suggestion at 
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next release of SQL Server. Your feedback is valuable for us to improve our products and increase
    the level of service provided.
    Thanks for your understanding.
    Regards
    Vicky Liu

  • POP3 adapter - Extracting body part

    Hi,
    I am using POP3 adapter, where I need to extract the body of the mail. and then I need to create xml message keeping this body as one of the fields description.
    I am doing this in custom pipeline component. I have working code to create the message, but I am not able extract the body part.
    Issue: The email message processing through pipeline, but resulting in empty message output.
    I tried keeping break point @ disassemble stage, but control not hitting my code. 
    I am using below code in disassemble stage to get the body part.
     IBaseMessagePart currentPart = pInMsg.GetPartByIndex(0, out partName);
                        Stream currentPartStream = currentPart.GetOriginalDataStream();
                        var ms = new MemoryStream();
                        IBaseMessage outMsg;
                        outMsg = pc.GetMessageFactory().CreateMessage();
                        outMsg.AddPart("Body", pc.GetMessageFactory().CreateMessagePart(), true);
                        outMsg.Context = pInMsg.Context;
    below is the adapter config
    Please let me know if any other configurations needs to be done in order to extract the body part
    Thanks in advance.

    Hi,
    I am able to debug the code.
    In the below code 
    currentPartStream.CopyTo(ms); is not working in .Net 3.5, how can I replace this code to extract the body part. please help.
    CopyTo method works in .net 4.0 and above
    public void Disassemble(Microsoft.BizTalk.Component.Interop.IPipelineContext pc, Microsoft.BizTalk.Message.Interop.IBaseMessage
    inmsg)
                var partName = string.Empty;
                // we start from index 1 because index zero contains the body of the message
                // which we are not interested
                for (int i = 1; i < inmsg.PartCount;
    i++)
                    IBaseMessagePart currentPart = inmsg.GetPartByIndex(i, out partName);
                    Stream currentPartStream = currentPart.GetOriginalDataStream();
                    var ms = new MemoryStream();
                    IBaseMessage outMsg;
                    outMsg = pc.GetMessageFactory().CreateMessage();
                    outMsg.AddPart("Body",
    pc.GetMessageFactory().CreateMessagePart(), true);
                    outMsg.Context = inmsg.Context;
                    currentPartStream.CopyTo(ms);
                    string attachmentContent = Encoding.UTF8.GetString(ms.ToArray());
                    MemoryStream attachmentStream = new System.IO.MemoryStream(
                    System.Text.Encoding.UTF8.GetBytes(attachmentContent));
                    outMsg.GetPart("Body").Data
    = attachmentStream;
                    outMsg.Context.Write("ReceivedFileName","http://schemas.microsoft.com/BizTalk/2003/file-properties  ",
    partName);
                    _msgs.Enqueue(outMsg);

  • Multi line items in mail

    Hi All,
    In my scenario sales order created in R3 side and send mail from XI side.
    Every thing is working fine. But the issue is in case multi line items in the sales order, the mail showing only one line item.
    Please help me on this scenario, and send me some documents for go through and try.
    Thanks.
    Senthil kumar V.

    1 We can send an e-mail with multi-line content using E-Mail Adapter.
    2. We can set Dynamic Data as the e-mail content.
    3. The Dynamic Content has to be formatted either in Mapping or in Module and then sent to E-mail Adapter. E-Mail Adapter cannot do the formatting.
    4. Content can be of any number of lines.
    5. The consolidation should be done in Mapping or in a Module program and the consolidated data should be given to the adapter.
    6. Yes Content can also be set in HTML format
    Edited by: Dharamveer Gaur on Sep 18, 2008 7:15 AM

  • Multi lines read in ALV using FM

    Hi,
    I have an ALV report, in that one fld is in edit mode the value can change for multi lines , when I click on a button the  changed values need to store some where.
    if it is '0' delete that record other wise refresh ALV. I have used FM in my report .can you help me?
    and is it possible to do validations like retain the value if it is wrong entry.
    Please help me

    HI,
    Check similar thread.Especially first 2 answers.
    Re: How to Refresh an ALV-grid created with FM REUSE_ALV_LIST_DISPLAY

  • Accordion multi-line label

    I'm trying to figure out how to make the label in my
    accordion multi line - I can't seem to figure it w/ styles. I could
    probably do it w/ html text.. but if there's an easier way. I'm
    wondering why can't I just drill down to the text label in the
    component and edit?? I read that Text Control will do multi-line
    but how the heck to I get that into this accordion?
    Can anybody please help me get on the right path. Is this
    going to involve code to equate the text label with a text field?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Accordion x="382" y="126" width="400"
    height="400">
    <mx:Canvas label="Accordion Pane 1" width="421"
    height="450">
    </mx:Canvas>
    <mx:Tile label="This is an example of a multiline text
    string in a Text control." width="100%" height="100%"
    fontFamily="Georgia" fontSize="26"
    color="#8080ff"></mx:Tile>
    </mx:Accordion>
    </mx:Application>

    I didn't try his example and didn't clearly see if the text gets cut or not.
    Well, fact is that my Label shows the whole text (I didn't mentioned this before, did I?)
    Well, I have uploaded it here: [http://79.170.44.105/lyrion.ch/concept.htm|http://79.170.44.105/lyrion.ch/concept.htm]

  • Change title to multi-line type?

    I am reading that it is not possible to change the Title field to a multi-line column type.  I have created a Question/Answer list. I renamed the Title field to "Question", but I need the user to be allowed more than 255 characters. 
    Is there a way to do this?  I know I can create a new column, but I need it to link to the item view/edit pages.
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Hello,
    What version of sharepoint you are using? If you are using SP 2010 or later then use "LinkToItem="TRUE"".
    This will add link to any column in list.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/6efa16c5-a7c4-499f-9928-90cc868ffddb/make-title-column-more-than-255-characters?forum=sharepointdevelopmentprevious
     If you are using legacy version then i think you can try this: (i have not tried it)
    http://www.ilovesharepoint.com/2008/08/add-sharepoint-list-item-context-menu.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to Remove the /Div in a Multi-line Field when reporting in Excel, getting

    I am uisng Excel Services to extract data from PS2013.  And the Multi-line text fields include the </Div> syntax.  I have looked at a lot of the links regarding how to do this.  I have even borrowed code that was on someones blog. 
    When I try and use it I get the following message and cannot not seem to resolve it after reading varous links regarding this issue. 
    Any ideas?  As a work around I have created an Excel Macro to remove it, however would like to solve it in the query
    Error Message
    The data types
    Nvarchar and Ntext are incompatible in the add operator
    Here is the syntax
    declare @Headxml nvarchar(350)
    declare @Footxml nvarchar(50)
    set @Headxml = N'<?xml version="1.0"?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"
    [<!ENTITY  nbsp "&#xA0;"><!ENTITY quot "&#x22;">]><html><body>'
    set @Footxml = N'</body></html>'
    SELECT   ProjectOwner.ProjectUID as [ProjectUID],
    ProjectOwner.ProjectName as [Project Name],
    ProjectOwner.[Project Number] as [ECP#],
    TaskRelated.TaskName as [Task Name],
    MSP_WssRiskToTaskLinks_UserView.RiskID as [Risk ID],
    MSP_WssRiskToTaskLinks_UserView.Title as [Risk Title],
    MSP_WssRiskToTaskLinks_UserView.Status as [Status],   
    MSP_WssRiskToTaskLinks_UserView.AssignedToResource as [Assigned To],
    MSP_WssRiskToTaskLinks_UserView.Owner as [PM], 
    MSP_WssRiskToTaskLinks_UserView.DueDate as [Due Date],  
    MSP_WssRiskToTaskLinks_UserView.Probability as [Probability],
    MSP_WssRiskToTaskLinks_UserView.Impact as [Impact], 
    MSP_WssRiskToTaskLinks_UserView.Exposure as [Exposure],
    MSP_WssRiskToTaskLinks_UserView.Cost as [Cost],
    MSP_WssRiskToTaskLinks_UserView.CostExposure as [Cost Exposure],  
    MSP_WssRiskToTaskLinks_UserView.Category as [Category],
    ISNULL(LTRIM((CONVERT(xml,(@Headxml+MSP_WssRiskToTaskLinks_UserView.[Description]+@Footxml),3)
            .value(N'(/)','nvarchar(4000)'))),'') AS [YourMulti-lineCustomFieldNewName],
    MSP_WssRiskToTaskLinks_UserView.MitigationPlan as [Mitigation Plan],  
    MSP_WssRiskToTaskLinks_UserView.ContingencyPlan as [Contingency Plan],
    MSP_WssRiskToTaskLinks_UserView.TriggerTask as [Trigger Task],
    MSP_WssRiskToTaskLinks_UserView.TriggerDescription as [Trigger Description],
    MSP_WssRiskToTaskLinks_UserView.CreatedDate as [Created Date],
    MSP_WssRiskToTaskLinks_UserView.CreateByResource as [Create By],
    MSP_WssRiskToTaskLinks_UserView.ModifiedByResource as [Modified By],
    MSP_WssRiskToTaskLinks_UserView.ModifiedDate as [Modified],
    TaskRelated.TaskUID as [TaskUID],
    TaskRelated.TaskName as [Task Name],
    TaskRelated.TaskStartDate as [Task Start],
    TaskRelated.TaskFinishDate as [Task Finish] FROM dbo.MSP_WssRiskToTaskLinks_UserView
    LEFT OUTER JOIN dbo.MSP_EpmProject_UserView AS ProjectOwner ON ProjectOwner.ProjectUID = MSP_WssRiskToTaskLinks_UserView.ProjectUID
    LEFT OUTER JOIN dbo.MSP_EpmProject_UserView AS ProjectRelated ON ProjectRelated.ProjectUID = MSP_WssRiskToTaskLinks_UserView.RelatedProjectUID
    LEFT OUTER JOIN dbo.MSP_EpmTask_UserView AS TaskRelated ON TaskRelated.ProjectUID = MSP_WssRiskToTaskLinks_UserView.RelatedProjectUID 
    AND TaskRelated.TaskUID = MSP_WssRiskToTaskLinks_UserView.RelatedTaskUID LEFT JOIN dbo.MSP_WssRelationshipType ON
    MSP_WssRiskToTaskLinks_UserView.RelationshipTypeID = MSP_WssRelationshipType.RelationshipTypeID                
    ORDER BY ProjectOwner.ProjectName ASC,  MSP_WssRiskToTaskLinks_UserView.RiskID
    Andrew Payze

    Hi Andrew,
    We normally create a function to do this. Some examples can be found here:
    http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/
    http://lazycoders.blogspot.co.uk/2007/06/stripping-html-from-text-in-sql-server.html
    http://stackoverflow.com/questions/457701/best-way-to-strip-html-tags-from-a-string-in-sql-server
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • The color of text item with multi-line in web

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

Maybe you are looking for