Mixed Content Error in Application Preview

Apologies if this has already been addressed. I searched the messages but didn't find one covering this issue.
When I run a UI5 application in preview from the Web IDE I am getting the following error when I try to call an OData service via HTTP.
Mixed Content: The page at 'https://webidetestingrxxxnnn.dispatcher.us1.hana.ondemand.com/inde…ashboard&origional-url=index.html&sap-ui-language=en&sap-ui-xx-fakeOS=ipad' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://sapsn1.nnn.com:8000/sap/opu/odata/sap/Z_HR_PEND_APPROVALS_SRV/$metadata?sap-client=020'. This request has been blocked; the content must be served over HTTPS.
I'm checking with the Gateway team to see if we can get the service available via HTTPS, but I was wondering if there was any configuration option in the HCP cockpit or Web IDE to override this restriction.
Thanks,
Dave

How is the service added to the project?
Like Maksim suggested, a destination and mapping can be used. Perhaps you've already have done so, but services can be used to create projects with destination usage from Web IDE templates.
Using an example of an on-premise front-end ABAP system with Gateway components,
Create a service in the on-premise system
Use SAP Cloud Connector to connect the on-premise system with SAP HANA Cloud Platform
Configure a destination for the on-premise system in HCP
Create a project from template (Fiori, SAPUI5, etc) in Web IDE using the destination and service endpoint
The destination and mapping are automatically generated in the project.
Regards,
Scott

Similar Messages

  • Mixed content error for FIORI launchpad designer

    Dear team,
    I have activated a ERP trial on AWS via CAL. Fiori launchpad and designer opens and works properly but when I am creating new tiles in a catalog, none of information on tile gets saved.
    I checked in Chrome console and following error is recorded when saving a tile:
    After allowing unsafe scripts, error changed to following:
    Any ideas?
    Best Regards - Anuraag

    Hi Anuraag,
    Please open the launchpad designer with http (not https). If you can not logon via http, change the protocol to  "Do not switch" in the SICF setting.
    Simple steps to configure Fiori Login\Logoff Page
    SAP Fiori - SAP Fiori launchpad troubleshooting
    Regards,
    Masa / SAP P&I Technology RIG

  • Looking for a HTTPS/HTTP mixed content "sniffer" tool

    I am hoping someone here can help me out. I am looking for a tool/addon that can point out exact what on the page is triggering a mixed content error. The browser will tell me that something on the page is not secure, but it won't tell me where or what the non secure item is so I can fix it.
    Here is my recent example of this problem.
    I had a issue with a HTTPS page with a doubleclick tracking pixel on it. It was a standard tracking pixel iframed on to the page and the page iframed was HTTPS with no cert problems. It turned out that the page being iframed has a javascript call that was HTTP and this was triggering the mixed content error.
    Unfortunately it took me almost two days to figure out the page being iframed was making the non-ssl call, not anything on the site.
    If anyone here could help me find a tool or point to a browser feature that I don't know about that could help me sniff out these mixed content error faster you would make my life so much easier.

    You can glean a little more information from Firefox's Browser Console (Ctrl+Shift+j). Mixed content blocks generate a log entry in the security category. If you enter mix in the filter box in the upper right of the console, that should help drill down on the message. (Screen shot example attached.)
    Now... you still need to figure out what is generating the request, but hopefully this will help.

  • Error while Creating Prestage Content File for Application in SCCM 2012

    Hi All,
    I am using SCCM 2012 SP1 on Win 2K8 SP R2 box. Database is SQL 2008 R2 SP1 CU6. I have trying to create Prestaged content for Applications for extracting pkgx files on DP's. I am getting the below error message for random applications(not for all applications
    but for random applications).
    Content that will be included into the prestaged content file (1):
    Citrix Receiver 13.3.0.55
    Export all dependencies: 'Yes'
    Selected distribution points: 'MPSERVER.GS.WORLD.PRESS.COM'
    Prestaged content file: 'G:\pkgxfiles\Application\Citrix Receiver 13.3.0.55.pkgx'
     Error: Distribution is currently in progress for selected packages: HM0000D9. Please wait and try again
    But if I see this application is successfully distributed to 2 of the distributions points long ago. If I reupdate the Distribution point and then again try to create prestaged content for this application then pkgx file for that application is getting
    created.
    Why this is happening and how can I resolve this?
    Thanks & Regards Uttam

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Error Displaying Portlet Preview created from Content Server templates

    I created portlet from content server announcement portlet template.Whet put on the page this portlet shows the following error message:
    Error Displaying Portlet Preview.Error Getting Content from Portlet.
    Same error with portlet created from the news template.

    If the link exists in TOA01, why is the dosumnet not visible ? When i use the Function Module ARCHIVOBJECT_DISPLAY, i get the error -
    Error when opening document with HTML control:DP_ERROR_GENERAL
    Can someone please let me know what are we doing wrong ??

  • Outlook 2010 Terminal Services; Error when sending mail "Content within this application coming... "About:Internet"

    Hi All,
    We have Outlook 2010 running on Terminal Services for one of our clients. Frequently users experience an error when trying to send mail.  A message pops up stating the follow (sorry I cannot post pictures or links yet which would make this much easier)
               "Content within this application coming from the website listed below is being blocked by Internet Explorer Enhanced Security Configuration."    About:Internet
    If I try to add this to the Trusted Sites zone it tells me that I have already done so.  All users are experiencing this issue. Not sure what can be done from our end to alleviate this problem.  Any advice?

    Either remove this "About:Internet" or disable Internet Explorer Enhanced Security Configuration on the terminal server:
    To disable IE ESC for all users
    Close all instances of Internet Explorer.
    Click Start, point to Administrative Tools, and then click
    Server Manager.
    If a User Account Control dialog box appears, click Continue.
    Under Security Summary, click Configure IE ESC.
    Under Administrators, click Off (Recommended).
    Under Users, click Off (Recommended).
    Click OK.
    Worked for me. Thanks!

  • SSL, IE6, & "Mixed Content"

    I have a servlet that returns a PDF over SSL, like this (I'm using JSF):
    FacesContext faces = FacesContext.getCurrentInstance();
    try {
         HttpServletResponse response =
            (HttpServletResponse) faces.getExternalContext().getResponse();
         response.setContentType("application/pdf");
         response.setHeader(
              "Content-disposition",
              "inline; filename=\"MyFile.pdf\"");
         ServletOutputStream out = response.getOutputStream();
         out.write(login.getRole().getPrintfile(this));
         faces.responseComplete();
    } catch (Exception e) {
         System.err.println(
              "ERROR: ReportDetails.print() - "
              + login.getRole().toString());
         e.printStackTrace(System.err);
         faces.addMessage(null, new FacesMessage(e.getMessage()));
    }This works great on every browser I've tested...except for Internet Explorer. On IE, the user gets a prompt warning that the page contains both secure and non-secure content. As far as I know, that's simply not the case. If the user says not to display the non-secure content, the PDF comes up fine. If the user says go ahead and display everything, the PDF comes up fine. (In Acrobat Reader)
    If I go into IE's Tools|Options|Customize, and change "Display mixed content" from "Prompt" to "Enable" everything works fine, and there is no prompt. Curiously, if I change the setting from "Prompt" to "Disable" everything still works fine.
    This is annoying. I don't want my users to have to change the default IE settings. Can anyone point me towards a solution?

    Thank you for this thread (and to Google for finding it for me). The KB article solves this exact problem for me. However, I am doing this using IIS and ASP.NET. It is ironic that I came to a Sun/Java development site to solve a Microsoft-specific problem. :-)
    Yes, I'm using POST (it's a JSF form).
    Thank you for the suggestion. I did find a simple
    work-around, though.
    I found a Microsoft KB article (321532) here:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US
    321532
    It says that there is a bug in IE that is fixed in the
    service packs, but that even after you apply the
    updates, you need to make sure your server sends
    "Accept-Ranges: bytes" in the HTTP response headers.
    I tried this, and IE pulled down the PDF, but Acrobat
    Reader claimed it was corrupt (again, and again...) I
    think there is a problem between Tomcat and Acrobat
    Reader using Accept-Ranges: bytes. (See
    http://www.mail-archive.com/[email protected]
    rg/msg57776.html)

  • Sharepoint FBA web application error: Server Error in '/' Application. when login to the web application

    Hello Team,
    I have configured FBA in SharePoint 2010. After the FBA i can get the SQL users using people picker and added users as a site collection admin.
    When i tried to access the site, it shows login page and i have given user name and password then pressed signin button, it's try to redirect the another page and showing below error,
    Server Error in '/' Application.
    Runtime Error 
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 
    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.
    This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
    "An exception occurred when trying to issue security token: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported
    method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title> 
    <style type="text/css"> 
    <!-- 
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} 
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
    .config_source code{font-size:.8em;color:#000000;} 
    pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
    ul,ol{margin:10px 0 10px 40px;} 
    ul.first,ol.first{margin-top:5px;} 
    fieldset{padding:0 15px 10px 15px;} 
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; 
     border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; 
     border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'..
    I checked sharepoint logs and didn't see any log. but i can see below error logged in  Event viewer application logs,
    I tried changing all customErrors mode and still same error.
    Kindly help me on this, how to resolve the issue.
    Thanks in advance.
    JP

    Hi,
    According to your description, my understanding is that the error occurred when you accessed SharePoint site through form based authentication.
    How did you configure the form based authentication?
    Here is a link about the steps required to configure FBA in SharePoint 2010 for your reference, and check the steps to see if there anything wrong in your configuration:
    http://www.codeproject.com/Articles/352841/How-to-Configure-Form-Based-Authentication-FBA-in
    Through the common error message, we cannot find what exactly caused the error.
    Here is a similar thread for you to take a look:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Pop-Up Menus and active content errors - Help!

    I'm attempting to add pop-up menus to my navigation bar, to
    make my site more user-friendly, but to no avail:
    I've tried designing pop-up menus in Fireworks, then
    importing the html code in, but that gives me errors when I try to
    insert the bar. Then, I tried putting my menus in different layers,
    with a "show layer" behavior on the button, and a "hide layer"
    behavior attached to the roll-off of the layer, but my version of
    Dreamweaver won't attach a behavior to a layer.
    Then, I noticed the tech-note on this site for the fix to use
    pop-ups in a template, so I added pop-up menus directly to my
    navigational buttons using the wizard. So here's where my problem
    comes in. . .
    When I preview my page, it throws up an active content error,
    but will still run. I uploaded it to my remote server, but when I
    went to the url, no action takes place when I put my cursor over
    it. Anybody have any ideas on how to create a pop-up menu that
    won't throw up an active content error? I've seen them on plenty of
    websites before, but can't figure how to do them.
    Any light you could shed would be greatly appreciated!

    > I'm attempting to add pop-up menus to my navigation bar,
    to make my site
    > more
    > user-friendly, but to no avail:
    Sometimes, they make your site less user-friendly. So be
    careful.
    The DW/FW pop-up menus are usually something that should be
    avoided. They
    are very poorly thought out and implemented, and will likely
    cause you
    continuing problems. It's foolish to devote the time to them
    that could be
    more effectively be placed elsewhere, especially since there
    are better
    options that work right out of the box, so to speak. Please
    check the free
    and commercial options here -
    http://www.projectseven.com/.
    > Any light you could shed would be greatly appreciated!
    Don't use DW/FW pop-up menus.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Ally86" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm attempting to add pop-up menus to my navigation bar,
    to make my site
    > more
    > user-friendly, but to no avail:
    >
    > I've tried designing pop-up menus in Fireworks, then
    importing the html
    > code
    > in, but that gives me errors when I try to insert the
    bar. Then, I tried
    > putting my menus in different layers, with a "show
    layer" behavior on the
    > button, and a "hide layer" behavior attached to the
    roll-off of the layer,
    > but
    > my version of Dreamweaver won't attach a behavior to a
    layer.
    >
    > Then, I noticed the tech-note on this site for the fix
    to use pop-ups in a
    > template, so I added pop-up menus directly to my
    navigational buttons
    > using the
    > wizard. So here's where my problem comes in. . .
    >
    > When I preview my page, it throws up an active content
    error, but will
    > still
    > run. I uploaded it to my remote server, but when I went
    to the url, no
    > action
    > takes place when I put my cursor over it. Anybody have
    any ideas on how
    > to
    > create a pop-up menu that won't throw up an active
    content error? I've
    > seen
    > them on plenty of websites before, but can't figure how
    to do them.
    >
    > Any light you could shed would be greatly appreciated!
    >

  • Server Error in '/' Application. [COMException (0x81020024): Unable to connect to database]

    Hi,
    My team and I are trying to resolve this issue. some of our users are having trouble uploading data into the database. this is the error that they are getting.
    I would really appreciate it if you could help me get ridd fo this issue.
    Server Error in '/' Application.
    Unable to connect to database. Check database connection information and make sure the database server is running.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details:
    System.Runtime.InteropServices.COMException: Unable to connect to database. Check database connection information and make sure the database server is running.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace
    below.
    Stack Trace:
    [COMException (0x81020024): Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequestInternalClass.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId,
    String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +0
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +359
    [SPException: Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +479
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +666
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +548
       Microsoft.SharePoint.SPWeb.EnsureSPRequest() +75
       Microsoft.SharePoint.SPWeb.get_Request() +74
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +613
       Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +41
       Microsoft.SharePoint.SPContext.get_Current() +123
       CKS.EBE.BlogContext.get_BlogEnabledSite() +37
       CKS.EBE.BlogHttpModule._app_PostAuthorizeRequest(Object sender, EventArgs e) +113
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    the description of the error on the server is as follows:
    The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use
    the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: #50071: Unable to connect to the database MOSS_Content_RBI on BartDB\Bart.  Check the database connection information
    and make sure that the database server is running..

    are you using the Aliases for the SQL Server, make sure your account having the correct permission.
    If it is your QA farm, you can run the config wizard to fix his problem...
    check this post having the similar issue.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/478d6b3a-a51e-48c5-832b-5afb51c69734/unable-to-connect-to-the-sql-content-database-from-sharepoint-web-front-server?forum=sharepointadminlegacy
    http://hammad1.wordpress.com/2008/06/04/unable-to-connect-to-database-in-event-logs/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Trying to install itunes on win 8.1.  keep getting error apple application support not found.  asks me to uninstall and install itunes.  i tried several times and keep getting same error.

    trying to install itunes on win 8.1.  keep getting error apple application support not found.  asks me to uninstall and install itunes.  i tried several times and keep getting same error.

    With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR suitable for your PC (there's a 32-bit Windows version and a 64-bit Windows version):
    http://www.rarlab.com/download.htm
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you? If so, see if iTunes will launch without the error now.
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • How to get Formatted Mail Content through Java Application

    I am using a mail sending function in my applet code which is listed below:
    Main content is fetched from a format tool bar in JSP Page and it is passed as parameter to applet and it is used inside the mail content.
    Same content when passed and executed in a JSP page, the formatted content is not lost and it is included in mail content as what it is fetched from Format Tool Bar.
    Format is lost when it is used inside the Java Application mail sending function.
    The below code I have used to send mail:
    package com;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.mail.BodyPart;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    class mailsendClass
    public void sendmail(String from,String host,boolean debug,String msgText)
         try
              Set tomailsid = new HashSet();
              Set ccmailsid = new HashSet();
              //to mail ids           
              tomailsid.add("[email protected]" );          
              tomailsid.add("[email protected]" );
              tomailsid.add("[email protected]" );
              //cc mail ids
              ccmailsid.add("[email protected]" );
              ccmailsid.add("[email protected]" );
              String mailarray[]= (String[])tomailsid.toArray(new String[tomailsid.size()]);
              String ccmailID[]= (String[])ccmailsid.toArray(new String[ccmailsid.size()]);
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              String mailsubject = "Mail Subject";
              // create a message
              Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
              for (int i=0;i<mailarray.length ;i++ )
              toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              System.out.println ("id inside to address loop " + i + " is "+ mailarray[i]);
              System.out.println ("toAddress " + i + " is "+ toAddress[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailsubject);
              try
                   javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[ccmailID.length];
                   for (int i=0;i<ccmailID.length ;i++ )
                        CCAddress[i]=new javax.mail.internet.InternetAddress(ccmailID[i]);
                        System.out.println("CC Array is ===> " +CCAddress[i] );//          
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              catch(Exception ss)
                   System.out.println("CC mail Exception is ====>"+ ss);     
                   msg.setSentDate(new java.util.Date());
    //          Multipart multipart = new MimeMultipart("relative");
                   Multipart multipart = new MimeMultipart("alternative");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(msgText, "text/html");
    //          messageBodyPart.setContent(msgText, "text/plain");
              multipart.addBodyPart(messageBodyPart);          
                   msg.setContent(multipart);
              Transport.send( msg );
         catch (Exception e)
              System.out.println("The Exception is ------>"+e);
    public class SendMail {
    public static void main(String[] args)
         System.out.println("before Mail Send ");
         mailsendClass mail = new mailsendClass();
         String from="[email protected]";
         String host="172.16.2.6";
         String msgText="<p><strong>Index</strong><br />I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:<br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///Index' href='ftp://index/'>ftp:///Index</a><strong><br />XML Coding - Files with errors</strong><br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///XML_Coding_Need%20Fixing' href='ftp://xml_coding_need%20fixing/'>ftp:///XML_Coding_Need%20Fixing</a></p>";
         mail.sendmail(from,host,true,msgText);
         System.out.println("after Mail Send ");
    Content placed in format tool bar is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    ftp:///Index
    XML Coding - Files with errors
    • Engage
    • Chapters 1–6
    ftp:///XML_Coding_Need%20Fixing
    Content fetched from format tool bar inside JSP page is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Fetched Content inside Java Application through parameter and it will use as input for mail content is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    • Engage
    • Chapters 1–6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Actual mail received after Java Application execution is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    ? Engage
    ? Chapters 1?6
    ftp:///Index
    XML Coding - Files with errors
    ? Engage
    ? Chapters 1?6
    ftp:///XML_Coding_Need%20Fixing
    Unicode characters in the mail content are replaced by “?”.
    In the function listed above I have used the MIME Setting as
    Multipart multipart = new MimeMultipart("alternative");
    I have tried by using “relative” MIME format also as
    Multipart multipart = new MimeMultipart("relative");
    But I am not getting the actual format passed as input to the Java Application in the mail content.
    Can anybody let us know how to overcome this problem?
    Thanks in advance.

    You need to really understand how the different multiparts work instead of just guessing.
    But for your application, you don't need a multipart at all. Just use msg.setText(msgText, null, "html");
    Although that doesn't explain your problem, it will simplify your program.
    How are you determining that the mail received doesn't have the formatting? Are you viewing it in a
    mail reader (e.g., Outlook)? Or are you fetching it with JavaMail?
    Are you using an Exchange server? Exchange will often reformat your message to what it thinks you meant.

  • Working with mixed-content XML

    Am new to Flex 2 and AS 3 but well versed in XML and related
    technologies. This is my first time posting to the forum.
    I have a simple Flex application that loads an external XML
    file via HTTPService and binds the XML to some MXML form controls.
    This works well as long as the XML element contains simple text,
    but breaks when the element contains a mixture of text and other
    elements (e.g. mixed-content).
    <something>some text</something> (Fine)
    <something>some <b>bold</b>
    text</something> (Breaks).
    Just wondering if anyone has could point me to an example of
    a Flex application interpreting mixed content XML. I've looked at
    various forums and in books and there isn't a lot on the subject
    from what I can see. Most of the XML examples I've found use flat,
    database/table-style XML which don't suit my purposes.
    Thanks
    Heather

    Let's not give up here. The problem is that you have HTML
    inside of an XML structure and the HTML, because its syntax is just
    like XML, cannot be distinguished by the XML parser. The proper way
    to get your HTML embedded in the XML is to use CDATA. So whoever
    created the XML didn't take that into account.
    I gave this a bit more thought. This will work ONLY if the
    HTML inside of the XML is always complete. No <br> tags
    without a </br>; no <p> without </p> etc. as that
    won't be readable by the XML parser.
    Once you've got your XML structure in Flex, you can get all
    of the <something> items like this:
    var somethings:XMLList = xmlvar.something;
    Now you have an XMLList - an Array of XML structures. This
    means somethings[0] is "some text" but somethings[1] is an XML node
    with a sub-structure which includes the <b> node. I hope you
    are withme so far.
    Now try this: var sometext:String = XML( somethings[1]
    ).toString();
    The toString() method should flatten the contents back into a
    string and you can assign that to the htmlText property of the
    control.
    As I said, your XML has to be perfect for this to work. Or
    you have to convince the author(s) of the XML to use CDATA to
    enclose the HTML.

  • I'm trying to e-mail music scores and audios, but I receive an error message saying Preview doesn't recognize the file format, regardless whether I use .mus, .pdf, or .mp3.  I haven't come across Preview or this problem before.  Any suggestions?

    I'm trying to send music, scores and audio, as e-mail attachments, with a copy to my e-mail address.  Whether I use .mus, .pdf, or .mp3, the error message says Preview doesn't recognize the file format.  I haven't seen Preview, or had any problems, before now.  Thanks for any suggestions.

    Hi,
    Firstly, your country is detemined by several factors, including your phone's regional settings, your SIM card and your NokiaAccount settings, if you used this phone whilst abroad then you may need to check that your regional and account settings are up to date since you have arrived in Canada.
    For services like Gigs, you should also ensure that the MixRadio app has access to your phone's GPS location as well as the main location being on in the phone settings. To check this, as well as Location being turned on in the phone settings, in MixRadio itself go to Settings>Location>On:
    The concern with favourites may also be related to location, if the music from certain artists is available in Canada but not where the service might think you are, availability of content may vary from region to region.
    If all settings in both the phone, your Nokia Account and the MixRadio app are correct, we may have to investigate deeper.
    It is impossible to comment on your camera without seeing it, you cold have the phone checked by Nokia Care locally, but of course if it was supplied in Europe it will be covered by the European Limited Warranty which is not valid in Canada.
    If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button.

  • Error in clicking  preview button in RFQ's

    Hi All,
    Encountered error in clicking preview button in RFQ's.
          Request Failed!
         APP-FND-00296: Cannot submit concurrent request for program SEZCPORFQ
    Check if the concurrent program is registered with Application Object Library.
    Check if you specified the correct application short name for your concurrent program.We define SEZCPORFQ in executable and define in program under concurrent.
    But still, error occur.
    We dont know what to do, any help pls.
    Version EBS: 12.1.3
    Thanks,
    alex

    Hi Alex,
    Encountered error in clicking preview button in RFQ's.
    Request Failed!
    APP-FND-00296: Cannot submit concurrent request for program SEZCPORFQ
    Check if the concurrent program is registered with Application Object Library.
    Check if you specified the correct application short name for your concurrent program.We define SEZCPORFQ in executable and define in program under concurrent.
    But still, error occur.
    We dont know what to do, any help pls.
    Version EBS: 12.1.3
    Thanks,
    alexIs the issue with this specific concurrent program? If yes, what is the difference between this program and other ones which work properly?
    Have you tried to enable trace/debug and see if you get more details about the error?
    Thanks,
    Hussein

Maybe you are looking for

  • Pop up a window to show images

    Hi, I am trying to show images when the user rolls the mouse over the image but I want to show them as a pop up window only when the user is on the image. Any ideas how can I handle this? I will have variety of images and want the same behavior for a

  • TB "not responding" most of the time.

    Windows 8, i-7 16 GB RAM. McAfee fixed settings but same problem. No difference in Safe Mode. I deleted the global data and tried all other TB site recommendations but still no change. I do have a fair amount of emails in archives. Not sure if this m

  • E-Mail Summary Report and Detailed Report Automatically

    Hi, I have just started a new job (1st IT job since leaving college) and I've been told that our Small Business Server 2011 used to email a Summary Report directly to a specified email address, as well as a weekly Detailed Report to the same email ad

  • Audacity I/O Problems

    Hello all. I am trying to get Audacity up and running. Sadly I can only record by using oss /dev/dsp1. I would like to you alsa with my M-Audio Revolution 5.1 card. Could anyone give me some tips with this program. I would greatly appreciate it. Than

  • Problems with LCD in project mode

    I am using GarageBand version 4.1.2. Everything works great until I try to set the LCD screen to project mode. When I do so, portions of the program freeze up and I am not able to either use the features in the project LED screen nor switch to anothe