Display - while using email / message

my I phone 4 g shows horizontally when i view mail or message by default , where as other phones show the way we hold the phone ?

Yes it is possible to implement this .
on SAVE you can check for the input field if any value entered on not .
or another way would be .in data_changed methood you set a flag which indicates that data_changed was called .
check the same flag when 'ON save '
then you give the message there ;that you can add in protocol.

Similar Messages

  • Error while using Email Activity

    Env:
    Win XP SP2
    SOA Dev Preview 10.1.3.1
    Jdev
    Prob: Am trying to send an email notification to my email id. I create a new BPEL Synchronous process and drag and drop the email activity into the process. I set the details into "to", "subject" and "body" parameters.
    And then I try to deploy the process.
    It throws an error "URI is not hierarchical"
    Can some one let me know the reasons for it.
    Thanx
    AJ

    Thanx Clemens,
    The xml that you had mentioned is same as the one I am working with. When I double click on the error in the error panel displayed in JDev, the cursor moves to the first line in the bpel file which says "<?xml version = "1.0" encoding = "UTF-8" ?>".
    I am still unclear as to what is the issue with the code that I am using. Following is my bpel file. Also, please let me know if there are any libraries or jar files to be included for using email activity in the bpel process.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Fri Aug 25 15:11:47 IST 2006
    Author: ashutoj
    Purpose: Synchronous BPEL Process
    -->
    <process name="SendEmailNotification"
    targetNamespace="http://xmlns.oracle.com/SendEmailNotification"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns1="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/SendEmailNotification"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SendEmailNotification"
    myRole="SendEmailNotificationProvider"/>
    <partnerLink name="NotificationService"
    partnerRole="NotificationServiceProvider"
    partnerLinkType="ns1:NotificationServiceLink"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable"
    messageType="client:SendEmailNotificationRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:SendEmailNotificationResponseMessage"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in SendEmailNotification.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SendEmailNotification" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <scope name="Email_1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns1:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns1:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns1:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_1">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('hi')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="string('[email protected]')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:To"/>
    </copy>
    <copy>
    <from expression="string('checking mail from bpel pm')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    partnerLink="NotificationService"
    portType="ns1:NotificationService"
    operation="sendEmailNotification"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"/>
    </sequence>
    </scope>
    <assign name="Assign_1">
    <copy>
    <from expression="'Mail Sent'"/>
    <to variable="outputVariable" part="payload"
    query="/client:SendEmailNotificationProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client"
    portType="client:SendEmailNotification" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>

  • Full text not getting displayed while using RSRT

    Hi,
    I am facing issue while downloading data using RSRT in BI system.
    When I go to RSRT and execute a report the output doesn't display full text for a characteristic. i.e. the characteristic has a size of 60 characters, but only 30 chars ( approx) are being displayed as report output in RSRT.
    COuld anyone here please help me in getting the full text using RSRT transaction?
    I am not using Bex here for the reason that the output has more than 1.8 lac records and hence I get an error while using Bex
    WHen I try to execute this report using Bex for a small selection I could see full text there.
    And there is no text master data maintained for this characteristic.
    Thanks in advance for your replies.

    Hi,
    As you said you have 1.8 Lac records, There is no point in increasing the size to maximum number possible i.e 65K .
    You have following three options to satisfy your requirement.:
    1.    Usage of  web reporting for export of more than 65k rows. According the note: 1127156 - Safety belt: Result set is too large, in BW version 7.x it I possible to set parameters that would allow such a massive export of data.
    2.    Functionality of OpenHubs. Data can be placed directly into the files (e.g. in CSV format) on application server. Be careful here OpenHubs are specially licensed and by using it there are additional fees.
    3.    Coding of custom ABAP report which runs BW query and gets all its output and saves it in the flat files.
    Please let me know if this info is helpful.
    Regards,
    Krishna Tangudu

  • Tomcat web.xml "display-name" using flex.messaging.MessageBrokerServlet

           Hello,
    When my web application starts with the BlazeDS servlet flex.messaging.MessageBrokerServlet defined in the web.xml we have an error because in the display-name defined at top level in web.xml we have some text containing character ':'. The error is traced to inside the function
             flex.management.BaseControl.getObjectName()
    Which gets the object name, and this function calls
       BaseControl.getApplicationId()
    which finally calls
    ServletConfig.getServletContext().getServletContextName()
    This will return or display-name from the web.xml with all  it's text. This text contains among other characters the character ':'.  We use this tag for the display in the Tomcat Manager to see version  number and other of deployed project.
    After retrieving this name it is appended in the getObjectName() function to a buffer, this StringBuffer that already contains flex.runtime. and  now this name is appended (still with all that we are using for Tomcat  Manager with ':' character and other). After the name, other things are  appended. Our problem is that, after constructing this StringBuffer an instance of javax.management.ObjectName is created. In it's constructor it takes a String name  as input. This String is parsed in base of characters ':', '*', '?',  '\n' and so on, and since we have some of these characters in our  display-name it all goes wrong.
       My question is, if this is a bug, a limitation or if it is documented that using flex.messaging.MessageBrokerServlet we can not use certain characters in the display-name of the web.xml?
       Greetings, Tim
       We are using
    Tomcat 5.5.23
    Jdk 1.5.0_14
    blazeds-src-4.0.1.17657
    part of web.xml
         <display-name>
             Version: 1.10.0.3 (01/02/2011), Environment development, AGP:  10.220.6.8:1557/AGPSVI, AGP_STAGE: host 10.220.6.8:1557/AGPSVI
         </display-name>
         <description>IMPRESA progetto con undergroung</description>
         <listener>
             <listener-class>flex.messaging.HttpFlexSession</listener-class>
         </listener>
         <servlet>
             <servlet-name>MessageBrokerServlet</servlet-name>
             <display-name>MessageBrokerServlet</display-name>
             <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
             <init-param>
                 <param-name>services.configuration.file</param-name>
                 <param-value>/WEB-INF/flex/services-config.xml</param-value>
            </init-param>
             <load-on-startup>1</load-on-startup>
         </servlet>

    I have found that this is a bug and there is an issue open at the "Adobe Bug and Issue Management System", BLZ-617. I don't know if work is in progress, but when that issue is closed the problem will be solved.
      Greetings, Tim

  • While using email why won't the cursor drop down into the compose area of the email

    While using my default browser firefox, I am unable to type in the "compose" section. I can type the address I want to send to and the subject but after that my cursor will not show up in the compose section. The cursor just will not go there.
    If I change and use explorer I don't have this problem. I do not want to use explorer so please help me if you can

    Can you use the tab key too reach that text area?
    What element gets selected if you right-click that compose section and select Inspect Element to open the Inspector?
    *https://developer.mozilla.org/Tools/Page_Inspector

  • IWeb - problems using email message hyperlink inspector

    The email message hyperlink was working fine when creating websites. For no obvious reason it gave up and now when I choose it it fails to show and only "external page" will show. I have tried it on a new site and a new page, but it's the same problem. Has anyone else experienced this? If so, what can I do ? I empted the iWeb cache etc etc

    In Mail's Accounts/Mailbox Behaviors preference pane check to see how you have Sent configured.  Maybe change it, reboot and then change back to what you currently have.

  • Value getting truncated in display while using F4IF_INT_TABLE_VALUE_REQUEST

    Hi.,
        I am using FM F4IF_INT_TABLE_VALUE_REQUEST to display F4 for a Particular field .
    But while displaying a field(ISBN) with 13 characters is displayed only with value of 8 characters only. kindly advice.
    IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'ESTNO'.
      APPEND IT_FT.
    IT_FT-TABNAME = 'ZC001_ESTMAST_HD'.
    IT_FT-FIELDNAME = 'VERSN'.
    APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'VERSN'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'SIRNO'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'TITNR'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'KUNNR'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'NAME1'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'JBDVN'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'MAKTX'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'TPWRK'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'ISBNO'.
      APPEND IT_FT.
    IT_FT-TABNAME = 'ZC002_ESTNOF4'.
    IT_FT-FIELDNAME = 'ORDDAT'.
    APPEND IT_FT.
      IT_DM-FLDNAME = 'ESTNO'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-ESTNO'.
      APPEND IT_DM.
      IT_DM-FLDNAME = 'VERSN'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-VERSN'.
      APPEND IT_DM.
      IT_DM-FLDNAME = 'SIRNO'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-SIRNO'.
      APPEND IT_DM.
    IT_DM-FLDNAME = 'SERIS'.
    IT_DM-DYFLDNAME = 'ZV001_TITLMAS_HD'.
    APPEND IT_DM.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = 'IT_VALUE'
       DDIC_STRUCTURE         = 'ZC002_ESTNOF4'
        RETFIELD               = 'ESTNO'
      PVALKEY                = ' '
        DYNPPROG               = SY-REPID
        DYNPNR                 = SY-DYNNR
        DYNPROFIELD            = 'IT_ESTMAS-ESTNO'
        VALUE_ORG   = 'S'
       STEPL                  = 0
        TABLES
           VALUE_TAB              = IT_MESTNO_F4
           FIELD_TAB              = IT_FT
          RETURN_TAB             = IT_RT
           DYNPFLD_MAPPING        = IT_DM
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards.,
    S.Sivakumar

    Hi.,
        i think i confused u all . i will paste the entire code here .
    DATA : BEGIN OF IT_MESTNO_F4 OCCURS 0,
           MANDT LIKE ZC001_ESTMAST_HD-MANDT,
            ESTNO LIKE ZC001_ESTMAST_HD-ESTNO,
            VERSN LIKE ZC001_ESTMAST_HD-VERSN,
            SIRNO LIKE ZC001_ESTMAST_HD-SIRNO,
            TITNR LIKE ZV001_TITLMAS_HD-TITNR,
            TPWRK LIKE ZV001_TITLMAS_HD-TPWRK,
            KUNNR LIKE ZC001_ESTMAST_HD-KUNNR,
            NAME1 LIKE KNA1-NAME1,
            JBDVN LIKE ZC001_ESTMAST_HD-JBDVN,
            MAKTX LIKE ZV001_TITLMAS_HD-MAKTX,
            ISBNO TYPE ZV001_TITLMAS_HD-ISBNO,
           END OF IT_MESTNO_F4.
      CLEAR: IT_MESTNO_F4[], IT_MESTNO_F4,
               IT_FT[], IT_FT,
               IT_DM[], IT_DM,
               IT_RT[], IT_RT.
    *ORDDAT
    SELECT DISTINCT  ESTNO VERSN SIRNO FROM ZC001_BUDMAS_MAT INTO CORRESPONDING FIELDS OF TABLE IT_MESTNO_F4.
    SELECT ESTNO VERSN SIRNO FROM ZC001_ESTMAST_HD INTO CORRESPONDING FIELDS OF TABLE IT_MESTNO_F4  WHERE ZSAVE EQ 'X'..
      SELECT  DISTINCT A~ESTNO A~VERSN A~SIRNO A~TITNR A~TPWRK A~KUNNR D~NAME1 JBDVN   B~MAKTX   ISBNO
       FROM ZC001_ESTMAST_HD AS A INNER JOIN  ZV001_TITLMAS_HD AS B
      ON A~TITNR = B~TITNR
        INNER JOIN  ZC001_BUDMAS_MAT AS C
      ON A~ESTNO = C~ESTNO AND A~VERSN = C~VERSN AND A~SIRNO = C~SIRNO
        INNER JOIN  KNA1 AS D
      ON A~KUNNR = D~KUNNR
       INTO CORRESPONDING FIELDS OF TABLE IT_MESTNO_F4
       WHERE ZSAVE EQ SPACE AND ZLOCK EQ SPACE.
      SORT IT_MESTNO_F4 BY ESTNO DESCENDING.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'ESTNO'.
      APPEND IT_FT.
    IT_FT-TABNAME = 'ZC001_ESTMAST_HD'.
    IT_FT-FIELDNAME = 'VERSN'.
    APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'VERSN'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'SIRNO'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'TITNR'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'KUNNR'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'NAME1'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'JBDVN'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'MAKTX'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'TPWRK'.
      APPEND IT_FT.
      IT_FT-TABNAME = 'ZC002_ESTNOF4'.
      IT_FT-FIELDNAME = 'ISBNO'.
      APPEND IT_FT.
    IT_FT-TABNAME = 'ZC002_ESTNOF4'.
    IT_FT-FIELDNAME = 'ORDDAT'.
    APPEND IT_FT.
      IT_DM-FLDNAME = 'ESTNO'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-ESTNO'.
      APPEND IT_DM.
      IT_DM-FLDNAME = 'VERSN'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-VERSN'.
      APPEND IT_DM.
      IT_DM-FLDNAME = 'SIRNO'.
      IT_DM-DYFLDNAME = 'IT_ESTMAS-SIRNO'.
      APPEND IT_DM.
    IT_DM-FLDNAME = 'SERIS'.
    IT_DM-DYFLDNAME = 'ZV001_TITLMAS_HD'.
    APPEND IT_DM.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = 'IT_VALUE'
       DDIC_STRUCTURE         = 'ZC002_ESTNOF4'
        RETFIELD               = 'ESTNO'
      PVALKEY                = ' '
        DYNPPROG               = SY-REPID
        DYNPNR                 = SY-DYNNR
        DYNPROFIELD            = 'IT_ESTMAS-ESTNO'
        VALUE_ORG   = 'S'
       STEPL                  = 0
        TABLES
           VALUE_TAB              = IT_MESTNO_F4
           FIELD_TAB              = IT_FT
          RETURN_TAB             = IT_RT
           DYNPFLD_MAPPING        = IT_DM
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards.,
    S.Sivakumar

  • Error while using APEX_LANG.MESSAGE in French translated application

    We have an multilingual application (item preference) with English as primary language and French and Spanish as translated versions. The application has been seeded, translated and published and it switches correctly between languages. Except when APEX_LANG.MESSAGE is used in French.
    APEX_LANG.MESSAGE renders correctly texts in English and Spanish but in French it throws the following error
    ORA-06550: Ligne 1, colonne 7 : PLS-00103: Encountered the symbol "<" when expecting one of the following: ( begin case declare exit for goto if loop mod null pragma raise return select update while with <identificateur> <identificateur entre guillemets> <variable attachée (bind variable)> << continue close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe purge
    This is the code that we use
    l_msg := APEX_LANG.MESSAGE(p_name => 'INTRO_TEXT', p0 => l_para0, p_lang => v('FSP_LANGUAGE_PREFERENCE'));
    sys.htp.prn(l_msg);
    I don't think the error comes from our code since the Spanish and English work as expected. I have tried all combination of calling the procedure to no avail.
    We are running Oracle version 11.1 with APEX 4.0.1 and 4.0.2
    System languages French and Spanish have been loaded
    Thanking you in advance for your help
    Hazi

    Hi Haritha,
    the address to PI webservice must be in the format: http://<hostname>:<port>/ XISOAPAdapter/MessageServlet? channel=
    <party>:<service>:<channel>
    Eg: <soap:address location="http://h03kyq:51000/XISOAPAdapter/MessageServlet?channel=:SDDS_DEV:ssReadSddsAddress" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
    Do you have access to PI? If so you can derive the webservice address url in there.
    Regards, William.
    Edited by: WvStrien on Jul 27, 2010 9:06 PM
    Edited by: WvStrien on Jul 27, 2010 9:07 PM

  • KM Doc Iviews do not display while using the FQDN

    Hi All,
    We have recently migrated the data from EP 6.0 server to EP 7.0 server. We have External Facing Portal sites in Arabic, English and French. When I use the FQDN to access the arabic sites it fails to display the KM doc Iviews.
    This works fine in English and French. Also this works fine in EP 6.0 server. While I try to access the site using just the server name (without the FQDN) it works fine as well.
    The site fails only in one condition i.e using FQDN of the server while accessing the arabic websites.
    What could be the reason for this??? Please help.
    Regards,
    Noufal

    The issue is resolved. The page was having a fixed height and the iviews within them had the height set to automatic. I just changed the height type to fixed and this has solved the issue.
    No idea if this is how it is supposed to work... and am puzzled how it was working when the server name was given without the FQDN...
    Anyways 10 points to me... 
    Regards,
    Noufal

  • Junk characters display while using multipart with html content in Javamail

    Hi All,
    I have used Java mail API to send mail with attachment. To enable to attachment in mail and to do content formatting i have used multipart and html content type together.
    My web application runs on apache tomcat 5.5 in MAC server. Java version is 1.5.
    The Function which i have used for sending mail with attachment is as follows:
    public void sendmailAttached(String to,String from,String host,boolean debug,String mailContent,String mailSubject,String cc,String attachFiles)
              String mailarray[]=to.split(";");
              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);
              try {
                   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]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailSubject);
              try{
                        String ccaray =cc;                    
                        String mailarray1[]=ccaray.split(";");
                        javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[mailarray1.length];
         for (int i=0;i<mailarray1.length ;i++ )
         CCAddress[i]=new javax.mail.internet.InternetAddress(mailarray1[i]);
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              }catch(Exception ss)
                        System.out.println("CC mail exception is ====>"+ ss.getMessage());     
              msg.setSentDate(new java.util.Date());
              Multipart multipart = new MimeMultipart("related");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(mailContent, "text/html");
              multipart.addBodyPart(messageBodyPart);
                   String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
              msg.setContent(multipart);
              Transport.send( msg );
              catch(MessagingException mex)
                   Exception ex = mex;
                   if (ex instanceof SendFailedException)
                   SendFailedException sfex = (SendFailedException)ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null) {
    if (invalid != null) {
    for (int i = 0; i < invalid.length; i++)
    System.out.println("Invalid Addresss --------> " + invalid[i]);
    try
         Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              Multipart multipart = new MimeMultipart("related");
         BodyPart messageBodyPart = new MimeBodyPart();      
         messageBodyPart.setContent(mailContent, "text/html");
    multipart.addBodyPart(messageBodyPart);
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[validUnsent.length];                         
    if (validUnsent != null) {
    for (int i = 0; i < validUnsent.length; i++)
    System.out.println("Valid Address ------>"+validUnsent[i]);
    String test = validUnsent[i]+"";
    toAddress[i]=new javax.mail.internet.InternetAddress(test);
    msg.setRecipients(Message.RecipientType.TO, toAddress);
    msg.setSubject(mailSubject);
    String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    Transport.send( msg );
    catch(Exception e)
         System.out.println("Mail Not Send");
              else
                        System.out.println("Mail Server Not Connectd ");
    This code is working properly and i am able to send mail with attachment and html formatted content without any problem. But console of server is filled up with too much junk characters because of which the catalina.out file of tomcat server is becoming fully filled.
    Sample cosnole display with  junk characters are as follows:
    Subject: HBSP - DRUCKER - QC - CH16 - QC  R2 Completed
    MIME-Version: 1.0
    Content-Type: multipart/related;
         boundary="----=_Part_34_15681668.1247471518887"
    ------=_Part_34_15681668.1247471518887
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    <b>Hi,</b><br><br>     Chapter CH16 in the project DRUCKER is Completed . <br><br>     <b>Comments :</b> Qc Accepted.<br><br> <b><i>Thanks,<br>ANTONY.</i></b>
    ------=_Part_34_15681668.1247471518887
    Content-Type: application/octet-stream; name=9420317_CH06_p084-119.pdf.zip
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=9420317_CH06_p084-119.pdf.zip
    UEsDBBQAAAAIAMOz6TqHaQ4BUtXhAGzP8QAZAAAAOTQyMDMxN19DSDA2X3AwODQtMTE5LnBkZsQ7
    CTxUX9tCUpIWEomxpoWZuTN3FmvW7P9skaUajCXGiCHSYiuKFrIvlWStROSvaBEtiIpkK5WlUipa
    ZKl898wYRP/37fve7/e69TjnPuc5z3LOuc95zjP3ym7S1lXAKuL5ZTu7HjTyL8ATiCgMiu6wA6Wi
    gjZy86RSvN12U51QWLQRCguT8ESISED/hcITMWgdFJZIgPAwBm2CwhHQFqAdRySRcWg9lC2KBBNQ
    WAIRZ6+mxk/1dEI48qNYF7+/N9WZHwiCSPyY8QtLQDFLlCf/AhYGgiHyDBwBIs7EETEzcCR4Bg6H
    IZBn4LBE7AwcNBOHJ87EwWQ8aTqOgIWJM3C4mX2JMH6GLiQiHjMDR8bD03BYDBYizcDh8LjpOCyM
    xczAETH4mbgZOmNhmDCDHwE7Qz+IhMNO54eHCKTp/GAcboYuBBJMmi6DSIZxU+lYF7KSJnEMb4qb
    B9WbH1md5sjCROHJMHqTN9VvfPGRcGgzOp2BwhOQMUKZofU9nenIDYF1o22rgtXU1EWGRgsia2vp
    Like this display of junk characters are filling up multiple pages of console file.
    Can any one suggest me how to overcome this problem?
    Many thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    There is no "sendmail" method in the JavaMail API.
    The debug flag is set using the Session.setDebug method, or by setting the Session property "mail.debug".
    If you're using someone else's helper classes with JavaMail, they may provide another way to set it.

  • Color Changes while using Text Messaging on iOS5

    Ever since I updated my iPhone 4 software to the new iOS5 I've notice something a little different with the text messaging.  Some of the text messages are bubbled or highlighted in a light blue while others are the standard green color.  They have all been green but now I'm seeing blue.  Why are some blue and some green?  Can I change to other colors as well?  Just trying to understand the color changes for some people.
    Thanks!
    Gilbert

    Blue messages use iMessage (other iOS 5 devices). Green messages are traditional SMS messages.

  • Disable my MB display while using an extenal LCD?

    Hi, when i have a dual display on my macbook, and i close the display on the macbook, the computer goes to sleep, autimatically,
    yeah, that's normal.
    now, if i click on the BT mighty mouse, the computer wakes up, and since the internal display is closed, my MB goes into a single display mode on the external display.
    so i am wondering if its possible to toggle that single external display without going to sleep, because i beleave it wont be a good thing for my mb.?
    thanks!!

    you can open the lid
    after the external screen comes on and the internal
    screen will stay off.
    exactly, that's the final result i want have, use only my lcd while the internal display is off(lid stays open). but i wish i could do that without going to sleep and then wake it up.
    i thought if i put MB to sleep then wake it to quickly, it will eventually break the HD.

  • Prob. while using error message in OOPS ALV

    Friends,
    I have developed an OOPS ALV to display the records with cost field as editable. And the cost should not accept decimals values, if the user enter the same (12.56) and click the save button (user-defined) then need to populate the error message. I am populating the error message, then the user change the value (12) and click the save, then in the ALV screen the chanegd value 12 is automatically back to prv. one 12.56 and the same error messgae is displaying.
    If i change the message type from Error to Info, then its working fine... but the client wants only error message. So anybody came across the same scenario? if yes.. pls share the solution..
    Ganesh C

    Hi,
    In this case, after the error message issued though the value is corrected , corrected data is not transferred to progarm.
    Program still works with old data. Check how you are issuing message and how you refereshing the table after user inputs.
    you can check program BCALV_EDIT_03 for vlidating fileds.
    I believe you can simply refer a data element which does not accepts decimal values.
    Regards,
    Ravi.

  • Web composer option not displaying while Customizing Error Messages of Portal applications

    Hi
    I am trying to customize the error messages through web composer in sap portal but when i Choose System Administration → System Configuration → Knowledge Management → Content Management          Web composer option is not shown .  I am using netwearver 7.0
    please guide me I searched google but couln't find any satisfactory answer.
    Thanks

    Hi Raima,
    From your description I assume you are attempting to implement the steps outlined in the following documentation, is this correct -
    Modifying Error Pages - Carrying Out the Initial Configuration - SAP Library
    If you are navigating to the KM configuration through the steps you outlined and you do not see WPC Composer listed under 'Content Management' I would suspect that it is not deployed on your system (at least not successfully). It is not included as part of the default stack in EP 7.0 and must be deployed separately. If you do intent to deploy this component, you should also note that the SP level of the KMC-WPC SCA should match the SP level of the other KM and EP components.

  • TS2755 My IPad does not display (load) my email messages, only the titles

    My email does not fully load content of each message, only the titles or subject of each message appears. What is causing this to happen and what can I do to correct this problem?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for

  • How can I distribute an application using Reprot generation Toolkit for MS Office for different versions of MS Office?

    I want to create an application which uses the Report Generation Toolkit for Microsoft Office. The office version of the target machine depends on what my customer has installed. From several discussions I have seen that the installer detects which v

  • Creation of DSN for Text driver in Linux

    Hi, I have created the DSN for Microsoft Text driver in windows and i have used this DSN in my java program. I am having database of text files. These text file data is delimited by comma. I want to create DSN for Text driver in Linux for use of my j

  • Windows 64 bit or 32 for my macbook air?

    I am trying to get a program that is currently having too many bugs and stability errors in the mac platform, so i want to install windows on my machine... what version should I buy... 64 bit or 32?  I have a MacBook Air Mid 2011 model.

  • French special characters not displayed properly in discoverer 11g

    Gurus We are upgrading to discoverer 11.1.1.3 I have found that French special characters (letters with accents) are not displayed properly in the discoverer tool menu. Example Sélectionner is displayed as S?lectionner. This doesn't seem to be a serv

  • Strange Mail - No Content

    I have a number of email headings in Mail which I can't open, and as well, I can't delete them!    All I get is blank pages.   Does it mean that, somehow, I've deleted the actual content archived somewhere?   If so, how do I delete those email headin