E-Mail InBox

My wife and I each have an e-mail account so our mail shows up in each individual mailbox but ALL of it shows in the Inbox. Is there any way to hide or delete only the inbox and/or its contents?
IMac   Mac OS X (10.4.9)  

No way to do so.
When selecting Inbox in the mailboxes drawer, it reveals a "blended" Inbox mailbox for all accounts. When selecting an account's Inbox mailbox in the mailboxes drawer, it reveals messages received by that account only in the message list and the same applies to Drafts, Sent, Trash and Junk in the mailboxes drawer.
As already provided, best to create a separate computer login account for your wife (with or without admin privileges) which will provided your wife her own Home folder/directory to store her data only and she can create/access her email account only with Mail under her login account.
OS X was designed for multiple users in this way with each user's Home folder/directory kept separate and protected from other users.
Fast User Switching makes the process of switching between multiple login accounts a fast and easy process and in addition, your wife can have her chosen computer settings under her login account such a different desktop wallpaper or icon view, etc. which gives each user a sense the Mac is theirs only when logged into their account.
Each user has a Shared folder in the Home folder/directory where files to be shared between multiple user accounts can be placed.

Similar Messages

  • I just rebuilt my mail inbox, 1 iCloud account and 2 other imap accounts, and everything is gone. Nothing on the remote servers either and on all my iCloud sync mobiles. How can i recover all my emails? Thanks

    I just rebuilt my mail inbox, 1 iCloud account and 2 other imap accounts, and everything is gone. Nothing on the remote servers either and on all my iCloud sync mobiles. How can i recover all my emails? Thanks it's all my work!!!!!!!

    we do what your doing... we use the same ID for "Icloud".
    We do NOT use the same ID for:  Face time and Imessage

  • I want to delete many old e mails in my Mail inbox.  How do I delete a group of old e mails without having to delete each individual one?

    I want to delete a large number of old emails in my Mac Mail inbox.  I have 4425 in inbox and want to delete all but current ones.  How do I highlight the mails, as a group,  from the oldest to mail to most current that I want to delete?

    While we all have MacBooks in this forum not all of us have iPhones. There's a iPhones Support Community where everybody has an iPhones. You should also post this question there to increase your chances of getting an answer
    https://discussions.apple.com/community/iphone/using_iphone

  • How do I permanently delete email messages from my Mail inbox?

    Ever since I migrated from Mobile Me to iCloud, I can't seem to delete messages from my MacBook Mail inbox.  They just reappear seconds later.  What do I need to do to delete them permanently?  I've tried looking in the settings, preferences, accounts, etc.  I've also made sure to select the "hide deleted messages" from the View tab.  Please help!  I am sure that there is a simple solution.  They are also staying on my iPhone and iPad.

    Settings > General > Spotlight Search > Uncheck Messages
    It's that or Restore the device as New with iTunes
    Hope that helps

  • How do you create a rule to forward/redirect emails to another account (eg: gmail) BUT, I DO NOT want emails to then appear in Mac Mail inbox?

    I cannot close down my primary email account as it's attached to my current modem.
    So it will have to remain open BUT I don't any emails going to this address.
    I have created a gmail account and want any emails redirected to this account but wanted to ensure they don't also appear in the original Mac Mail Inbox.
    Any suggestions?

    Changing the password as you describe only changes the password that your Mac sends to the mail server(s), not the password that the mail server(s) expect(s).
    If the email account is "attached to [your] modem," it is supplied by your ISP (Internet Service Provider), and you must change the expected password through your ISP. Depending on your ISP, this may involve calling them on the phone, visiting a web site, or even using a special app. It may also require proof of your right to administer your email account.
    After you have changed what your ISP's mail server(s) expect(s), you will need to change the password(s) your system sends in Account Information (for receiving) and Edit SMTP server list (for sending).

  • No  messages seen in e.mail inbox I pad2?

    No messages or photos seen in the e.mail inbox of my I pad2. Only header and title.

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'
    If that doesn't work then try closing the Mail app completely : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Mail Inbox only doesn't work.  Any ideas?  And Newstand app remains incomplete with blue bar on the bottom.  Any ideas?

    Only my Mail Inbox doesn't work with iOS5.  Sent, Bulk, Trash, and Draft works fine.  I don't receive new emails, yet if I go to see my mail via Safari/Yahoo/Mail all the new emails are there.  So it is clearly an iOS5 issue.  I did a hard restart holding the On/Off and Home key, I delete the account and reinstalled, i disenabled iCloud and nothing seems to work.  Any other ideas or do I wait for Apple to release 5.01 to fix all the mess they made.

    All seems okay with host, user name and password.  Server port is fine, though my 3G model has has multiple servers and the Wi-Fi version only has one.  I even brought it to an Apple store while traveling in The Netherlands.  They had no other suggestions.

  • My new messages still not coming into my mail inbox, my Mac OS X version 10.6.8

    Can you please give me the correct detail for Mail Preference/account information both incoming mail server & outgoing mail server.
    My new messages still not coming into my mail inbox yet, still not working since yesterday. My sent mails are ok working. What,s number for Port & click on 'use SSL'? 110?
    My safari is working Internet..  My ipad2 is still working to receive my new messages via my mail inbox. Something miss in my mail preference? How to fix it?
    Regards lisa

    Here's my reply to another discussion on the general procedures for setting up a Mail account.
    But without the specifications defined by your ISP no one can tell you any more specific details.  They should have a web page somewhere (or call them) that supplies all the relevant information:
    Incoming (pop) mail server
    mail login user name and password
    pop port
    ssl requirements
    authentication type (password?)
    Outgoing (smtp) mail server
    smtp port
    ssl requirements
    authentication type (password?)
    mail login user name and password

  • Lost mail inbox after sync - help!

    After a recent new version of iTunes was downloaded onto the iMac, the my iPhone (version 4.2.10) mail inbox was empty after the first sync.  The only way I can find to retrieve the emails is to resend them to myself.  This is at least the 3rd time this has happened, although I honestly don't recall if the other 2 were on the first sync after a change to iTunes.  I did not change any settings on the phone, but it sure seems as if I have something set incorrectly.  Any help is much appreciated!  Thanks.

    Have you looked in My documents-pictures on the PC?
    Click on the following link to the kb.palm.com webpage for the article regarding Location of Treo 700p, 680, and 650 photos and videos on desktop computer after HotSync operation.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=31573
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://www.palm.com/us/support/treo/treo700psprint/
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.
    Post relates to: Palm i705

  • Mac mail inbox spinning wheel adjacent icloud inbox

    my Mac mail inbox, adjacent the icloud tray has a continious grey spinning wheel, no new mail is coming in.
    Also there is a grey clock adjacent Reminders/Notes/iCloud? Are they related; how to fix?

    Hi Eric,
    This is my very first post because I can usually fix things on my own, but I was freaking out a bit. I did so many things to mess up my mail, including changing an IMAP account to a POP account, applying rules that were not very smart, and when things started to go wrong, I deleted the POP account. Essentially, I pulled all my emails off the server, put them in a folder on my Mac, then deleted that folder by deleting the account. But, I appreciate your reply and potential solution. I'm always happy to learn more about my Mac, and now I know where I can look (home/user folder Library/Mail) should this happen again, so thanks for that. I was just going to leave a reply to my own post;
    I panicked, but (I think) I have fixed this. I used Time machine to restore my inbox. Suffice it to say I have a much better understanding of Apple's Mail app and how careful you need to be with setting Rules. <—— (Very embarrassed face)

  • Link to SAP Report Output from SAP Mail Inbox

    Hi Experts,
    I wants to send a link of SAP  ALV  Report output screen to SAP mail inbox and if a user clicks that link ,the report output
    screen should open and user has to see & interact  the ouput of that  ALV Report.how can i achieve this without webdynpro
    and workflow.
    Regards,
    Veera.

    Hi Asif
    When I said 'pdf/rtf/html/htmlcss', I meant any one of the above.
    You need to run the report as:
    rwrun60 <report_name> <connection_string> desformat=pdf destype=mail desname=<email_id> batch=yes
    In case you want to mail as HTMLCSS, replace PDF in DESFORMAT option in the above command to:
    DESFORMAT=HTMLCSS.
    Regards
    Sripathy

  • The reading pane Mail inbox has disappeared; what's the fix?

    The reading pane of my Mail "inbox" has disaappeard; what's the fix?

    This indicates the account's Inbox mailbox has an "overstuffed" mailbox issue which means the mailbox has some corruption.
    All email clients have limits and although an "overstuffed" mailbox issue can occur at any mailbox size, it is more likely to occur depending on the number and size of message attachments contained in a mailbox and especially as a mailbox approaches or exceeds 1 GB in size for Jaguar/Panther Mail and 2 GB in size for Tiger Mail.
    Since an account's Inbox mailbox is usually the most active mailbox, it is not a good idea to use an account's Inbox mailbox as the final storage location for all messages received that are not deleted. You can/should utilize user created "On My Mac" mailboxes to sort received messages by category that you need to save. This can be done by creating rules to automatically sort received messages to user created mailboxes by category or transferring messages manually.
    That being said, quit the Mail.app first and using the Finder go to Home > Library > Mail > this account named folder (named by the user name and incoming mail server for the account) > INBOX.mbox.
    This should be for the account named folder within the original Mail folder at Home > Library > Mail, not from the backup.
    Move the INBOX.mbox to the Desktop.
    When re-launching Mail, a new (and empty) INBOX.mbox will be created automatically by Mail within the account named folder when receiving the next message with this account. This will allow the Mail.app to function properly again and not risk losing any new messages received while working on the old INBOX.mbox moved to the Desktop.
    Control-click on the old INBOX.mbox moved to the Desktop and at the menu window that appears, select Show Package Contents.
    List the package content file names and size of each here.
    This information is required to determine the next step to take to recover all messages contained in the mailbox.

  • How to get notes to appear in the mail inbox

    Okay, so, before i reinstalled my ipod touch, the notes i wrote on it apperared in my mail inbox on my imac.
    But after i reinstalled it or whatever, they don't, and i can't seem to get them to appear there again, can anyone help me with this?
    I don't want to write notes in the mail app, i want the notes from my ipod go to my mail inbox on the computer

    On your iPod head to Settings -> Mail, Contacts, and Calendars and tap on the email account you wish to have Notes synced with.  On the screen that appears, make sure Notes is turned on.
    Next, head to the Notes app and tap the Accounts button in the top left corner.  Then tap on the desired email account and started placing and creating notes there.
    B-rock

  • Can anyone explain why some of my mail goes straight into Archive and doesn't show up in my Mail Inbox?

    I don't understand the Archive folder.  My Mail Inbox receives mail for my Mac, Gmail & AOL accounts - but sometimes after I've read an email I then can't find it when I check back for it later.  And then I discover it's in the Archive folder, though I haven't done anything to make it move to Archive.  So it must be happening automatically, and seemingly at random.  Can anyone explain how this could be and how I can prevent it continuing to happen?  Thanks.

    Andy, thanks for your reply. I was just going to post that I seem to have solved the problem.
    What I ended up doing was to first back up the mail folder. Then I created some Saved Mail folders and did a search to find the e-mails that weren't displaying and put them into a saved mail folder. Then I went in and deleted the e-mail account that wasn't displaying mail. (It would show the number of new messages in the red circle, but didn't show any messages being in the inbox when you clicked on the account.) Anyway, after trying to backup everything and deleting the problem e-mail account, I rebuilt the inbox and then re-entered the information for that account to set it back up. After I did this, messages come into the account just fine and show up just like they should.
    The file structure looked to be the same as what your finder image shows. When I did the search which let me find the messages, all I noted was that it would say they were either in the Inbox, Sent Mail, Trash, etc. But, once I had them showing in the search window, I could copy them to a saved mail folder and view them without a problem.
    Since this wasn't my computer, I'm not sure if anyone tried to change account settings, but not as far as I know. They just said it happened about 2-3 weeks ago.
    Thank you for your help. I guess it's going to be one of those computer things that you don't know why it happened, but at least I know what I did that seems to have fixed it.

  • I just installed Lion, and I find my Mail inbox quite incomplete.

    I just installed Lion, and I find my Mail inbox quite incomplete. Yet when I look in my "Smart Mailboxes" I can find the new emails that I was looking for, so they are getting here, just not to my "Inbox". Help!

    did you find a solution?  I am having the same problem!  I can find my emails under 'all mail - where my ingoing and outgoing emails are mixed together)....but not in my INBOX!  I get notifications of new emails, but they don't show up in my inbox!

  • Send PDF Attachment to SAP Mail Inbox.

    Dear all,
    I have problem please help me out.
    i have to  create an PDF file  with
    my own data and that created PDF file
    i have to send it to SAP mail inbox
    (Transaction code : so01).

    hi sudheer,
    Let the data be populated into ur itab ,
    Now in the code just concentrate on
    Perform fill structure.
    the process u need to do is from ur layout convert from
    itab o/p format itab>OTF/OTF->PDF .
    see the function modules .
    on execution of this a mail will be in ur outbox .
    regards,
    vijay.
    tables : vbak.
    type-pools:slis.
    data: begin of it_t1 occurs 0,
          vbeln like vbak-vbeln,
          erdat like vbak-erdat,
          ernam like vbak-ernam,
          netwr like vbak-netwr,
          waerk like vbak-waerk,
          end of it_t1.
          select-options : so_vbeln for vbak-vbeln.
         DATA :  it_fieldcat TYPE slis_t_fieldcat_alv,
                 it_sort TYPE slis_t_sortinfo_alv,
                 it_listheader TYPE slis_t_listheader,
                 it_alvevent TYPE slis_t_event.
         DATA : wa_fieldcat TYPE slis_fieldcat_alv,
                w_pos TYPE i VALUE 1,
                wa_listheader TYPE slis_listheader,
                wa_alvevent TYPE slis_alv_event,
                wa_sort TYPE slis_sortinfo_alv.
         Data:  it_outtab like it_t1 occurs 0 with header line.
    DATA : MAILREC LIKE SOMLRECI1 occurs 0 WITH HEADER LINE,
           MAILBIN LIKE SOLISTI1 occurs 0 WITH HEADER LINE,
           MAILBIN2 LIKE SOLISTI1 occurs 0 WITH HEADER LINE,
           MAILTXT LIKE SOLISTI1 occurs 0 WITH HEADER LINE,
           MAILHEAD LIKE SOLISTI1 occurs 0 WITH HEADER LINE,
           MAILSTRUC LIKE SOPCKLSTI1 occurs 0 WITH HEADER LINE,
           MAILDATA LIKE SODOCCHGI1 occurs 0 WITH HEADER LINE.
    DATA: BEGIN OF GT_OTF OCCURS 0.
            INCLUDE STRUCTURE ITCOO .
    DATA: END OF GT_OTF.
    DATA: ITCPO LIKE ITCPO,
          ITCPP LIKE ITCPP.
    DATA: tlines type i,
          len_in like SOOD-OBJLEN,
          len_out like SOOD-OBJLEN.
    data: gt_pdf    like solisti1   occurs 0  with header line.
    DATA: gt_otfdata LIKE SOLISTI1 occurs 0 WITH HEADER LINE.
        CONSTANTS: c_formname_top_of_page TYPE slis_formname
                              VALUE 'F_TOP_OF_PAGE'.
    select vbeln
           erdat
           ernam
           netwr
           waerk into corresponding fields of table
           it_outtab from vbak where vbeln in so_vbeln.
          loop at it_t1.
            write:/ it_t1-vbeln,
                    it_t1-erdat,
                    it_t1-ernam,
                    it_t1-netwr,
                    it_t1-waerk.
          endloop.
       perform alv_disp.
    *&      Form  alv_disp
          text
    -->  p1        text
    <--  p2        text
    FORM alv_disp.
    PERFORM build_fcat USING '1' 'VBELN' 'IT_OUTTAB' ' ' ' ' ' '
    'SALESNO'.
      PERFORM build_fcat USING '2' 'ERDAT' 'IT_OUTTAB' ' ' ' ' ' '
    'CRTNDATE'.
    PERFORM build_fcat USING '3' 'ERNAM' 'IT_OUTTAB' ' ' ' ' ' '
    'CRNAME'.
    PERFORM build_fcat USING '4' 'NETWR' 'IT_OUTTAB' ' ' ' ' ' '
    'NETPRICE'.
    PERFORM build_fcat USING '5' 'WAERK' 'IT_OUTTAB' ' ' ' ' ' '
    'CURRENCY'.
    ***Top of Page Heading purpose " u can add the date and column over here
    PERFORM buildtop USING it_listheader[].
    perform top_of_page.
    *------Sort The Catalog
    PERFORM sort_cat  TABLES it_outtab USING it_sort[].
    *------Display Table In GRID
    PERFORM disp_grid TABLES it_outtab[].
    **For email stuff follow the perform
         perform fill_struct.
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = MAILDATA
        PUT_IN_OUTBOX                    = 'X'
      TABLES
        PACKING_LIST                     = MAILSTRUC
        OBJECT_HEADER                    = MAILHEAD
        CONTENTS_BIN                     = MAILBIN
        CONTENTS_TXT                     = MAILTXT
      CONTENTS_HEX                     =
      OBJECT_PARA                      =
      OBJECT_PARB                      =
        RECEIVERS                        = MAILREC
    EXCEPTIONS
      TOO_MANY_RECEIVERS               = 1
      DOCUMENT_NOT_SENT                = 2
      DOCUMENT_TYPE_NOT_EXIST          = 3
      OPERATION_NO_AUTHORIZATION       = 4
      PARAMETER_ERROR                  = 5
      X_ERROR                          = 6
      ENQUEUE_ERROR                    = 7
      OTHERS                           = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " alv_disp
    *&      Form  build_fcat
          text
         -->P_0104   text
         -->P_0105   text
         -->P_0106   text
         -->P_0107   text
         -->P_0108   text
         -->P_0109   text
         -->P_0110   text
    FORM build_fcat USING     value(col_pos)
                              value(fieldname)
                              value(tabname)
                              value(key)
                              value(no_zero)
                              value(do_sum)
                              value(reptext_ddic).
    CLEAR wa_fieldcat.
      wa_fieldcat-col_pos       = col_pos.
      wa_fieldcat-fieldname     = fieldname.
      wa_fieldcat-tabname       = tabname.
      wa_fieldcat-key           = key.
      wa_fieldcat-no_zero       = no_zero.
      wa_fieldcat-do_sum        = do_sum.
      wa_fieldcat-reptext_ddic  = reptext_ddic.
      APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM.                    " build_fcat
    *&      Form  Top_Of_Page
    Top of page for Grid.
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = it_listheader
                I_LOGO             = 'MY_SAP_ENJOY'.
    ENDFORM.                    "top_of_page
          text
         -->P_IT_LISTHEADER[]  text
    FORM buildtop USING IT_LISTHEADER type slis_t_listheader.
    DATA : text(100) TYPE c.
      CLEAR  it_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ  = 'H'.
      wa_listheader-info = 'Sales Details' .
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ  = 'S'.
      wa_listheader-info =  'Demo'.
      APPEND wa_listheader TO it_listheader.
    *CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
       IT_LIST_COMMENTARY       =  it_listheader
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    ENDFORM.                    " Top_Of_Page
    *&      Form  sort_cat
          text
         -->P_IT_OUTTAB  text
         -->P_IT_SORT[]  text
    FORM sort_cat TABLES   IT_OUTTAB STRUCTURE  IT_OUTTAB  USING IT_SORT
    TYPE
    slis_t_sortinfo_alv.
    CLEAR wa_sort.
      wa_sort-fieldname       = 'VBELN'.
      wa_sort-tabname         = 'IT_OUTTAB'.
      wa_sort-spos            = 1.
      wa_sort-up              = 'X'.
      wa_sort-subtot          = ' '.
      APPEND wa_sort TO it_sort.
    ENDFORM.                    " sort_cat
    *&      Form  disp_grid
          text
         -->P_IT_OUTTAB[]  text
    FORM disp_grid TABLES  IT_OUTTAB STRUCTURE  IT_OUTTAB.
       CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
           I_CALLBACK_PROGRAM                = 'ZEX2' "sy-repid
           I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
           IT_FIELDCAT                       =  IT_FIELDCAT
          IT_SORT                          =  IT_SORT
         TABLES
           T_OUTTAB                          = IT_OUTTAB
        EXCEPTIONS
          PROGRAM_ERROR                     = 1
          OTHERS                            = 2
       IF SY-SUBRC <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    ENDFORM.                    " disp_grid
    *&      Form  fill_struct
          text
    -->  p1        text
    <--  p2        text
    FORM fill_struct.
    Text
      MOVE 'Hi vijay ' TO MAILTXT-LINE.
      APPEND MAILTXT.
    Data
      MAILDATA-OBJ_NAME = 'Document'.
      MAILDATA-OBJ_DESCR = 'E-maiL From vij'.
      MAILDATA-OBJ_PRIO = '1'.
      MAILDATA-DOC_SIZE = strlen( MAILTXT ).
    Structure
      MAILSTRUC-HEAD_START = 1.
      MAILSTRUC-HEAD_NUM = 0.
      MAILSTRUC-BODY_START = 1.
      MAILSTRUC-BODY_NUM = 1.
      mailstruc-obj_name = 'Vijay Simha'.
      MAILSTRUC-DOC_TYPE = 'RAW'.
      APPEND MAILSTRUC.
    Receivers
    **u can use ur mail id(s) overhere
        MOVE '[email protected]' TO MAILREC-RECEIVER.
        MAILREC-REC_TYPE  = 'U'.
      APPEND MAILREC.
      CLEAR ITCPO.
      ITCPO-TDGETOTF = 'X'.
    ***moving to the output/format of the attachment.
    final pdf format in the mail attachemnt
      LOOP AT it_outtab.
       MOVE it_outtab-vbeln TO MAILBIN.
       MOVE it_outtab-erdat TO MAILBIN+18.
       MOVE it_outtab-ernam TO MAILBIN+40.
      MOVE it_outtab-netwr TO MAILBIN+70.
      MOVE it_outtab-waerk TO MAILBIN+78.
       APPEND MAILBIN.
       CLEAR MAILBIN.
      ENDLOOP.
    **convert the scrap to otf.
    CALL FUNCTION 'SX_OBJECT_CONVERT_SCR_OTF'
      EXPORTING
        format_src            = 'RAW'
        format_dst            = 'OTF'
        devtype               = 'POSTSCPT'
        funcpara              = ' '
        len_in                = LEN_IN
    IMPORTING
       LEN_OUT               =  LEN_OUT
      tables
        content_in            = MAILBIN
        content_out           = MAILBIN2
    EXCEPTIONS
      ERR_CONV_FAILED       = 1
      OTHERS                = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH MAILBIN.
    CONVERT OTF to PDF
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
        EXPORTING
          FORMAT_SRC            = 'OTF'
          FORMAT_DST            = 'PDF'
          DEVTYPE               = 'POSTSCPT'
      FUNCPARA              =
          LEN_IN                = LEN_IN
        IMPORTING
          LEN_OUT               = LEN_OUT
        TABLES
          CONTENT_IN            = MAILBIN2
          CONTENT_OUT           = MAILBIN
    EXCEPTIONS
      ERR_CONV_FAILED       = 1
      OTHERS                = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH MAILBIN2.
    DESCRIBE TABLE MAILBIN LINES TLINES.
    Structure
      MAILSTRUC-HEAD_START = 1.
      MAILSTRUC-HEAD_NUM = 1.
      MAILSTRUC-BODY_START = 1.
      MAILSTRUC-BODY_NUM = TLINES.
      MAILSTRUC-TRANSF_BIN = 'X'.
      MAILSTRUC-DOC_TYPE = 'PDF'.
    MAILSTRUC-DOC_TYPE = 'XLS'.
      mailstruc-obj_name = 'Vijay.S.Reddy'.
      MAILSTRUC-DOC_SIZE = tlines * 255.
      APPEND MAILSTRUC.
    ENDFORM.                    " fill_struct

Maybe you are looking for