Mail Inbox Management help

Hi at present i am working on an inbox problem.
My problem is that since i am working in a loop so all attachments are downloaded to /User folder
ie where Cookie folder resides C:\Documents and Settings.
No dialog box appear on downloading.Also as it is one loop so all possible attachments start
downloading one by one everytime.What to do ?.How to manage ?

You need to be a little more explicit about what you're doing, what you expect to happen, and what you actually observe.
Please post a short, concise example. This does not have to be the actual code you are using. Write a small example that demonstrates your intent, and only that.
Post your code between [code] and [/code] tags as described in Formatting Help on the message entry page. Cut and paste the code, rather than re-typing it (re-typing often introduces subtle errors that make your problem difficult to troubleshoot). Please Preview your post when posting code.
Please post a compileable and executable example. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it.
Please assume that we only have the core API. We have no idea what SomeCustomClass is, and neither does our collective compiler.
If you have an error message, post the exact, complete error along with a full stack trace, if possible. Make sure you're not swallowing any Exceptions.
Help us help you solve your problem.

Similar Messages

  • Safari 3.1 Install - Breaks Mail, Update Manager, Help, Safari

    I downloaded and installed Safari 3.1. Afterwords, all apps that use webkit appear to be broken. They attempt to start and crash.
    I have backed out all input manager files per the instructions that have been posted elsewhere.
    I have re-applied the 10.4.11 combo update.
    I removed the Audio Hijack APE file per Mac Fix It
    Etc... Multiple times...
    Still no mail, no Safari, no help, no update manager. The Webkit version of Safari works...

    Fixed!! I tried verify permissions and verify hard drive in disk utility. I do have a key error that causes the drive verify to stop.
    Verifying volume “Macintosh HD”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Keys out of order
    The volume Macintosh HD needs to be repaired.
    Error: The underlying task reported failure on exit
    Disk Utility stopped verifying “Macintosh HD” because the following error was encountered:
    The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    But, never mind that. for now..
    From the forums I found this...
    "This issue is resolved, thanks karelsf. To run Software Update through terminal, open Applications > Utilities > Terminal, then type:
    sudo softwareupdate -i -a
    Enter your password at the prompt. You'll probably be asked to restart when it's done, which you'll have to do manually. This probably worked because the new Safari update also installed a new WebKit framework, which was the problem in the first place.
    Thanks!
    Mateja"
    Thank the above wonderful folks for sharing!!
    Might not work for everybody, but worked for me, just need to figure out the hard drive error...

  • Updated to IOS 8.02 everytime I check e-mail it deletes everything in my inbox.  Help

    Updated to ISO 8.02 and everytime I check my e-mail it deletes my entire inbox.  Help please

    What type of mail account is this (POP, IMAP, .Mac)? Who is the provider? Do you access it from more than one computer? How do you know it’s Mail that’s deleting those messages and not some other agent? More info, please...

  • 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

  • IOS Mail: Mailbox Management

    Using: iPad 4 w/wi-fi; iOS 8.2
    I do not understand how the Mailboxes work.
    FIrst, I have two Trash mailboxes: one, Trash can, and one, Trash folder.
    I also have a mailbox named, Bulk Mail.
    None of these three folders did I set up; they came with the Mail app. In OS X, if I wanted a Trash folder or a Bulk Mail box, I would have to manually set them up.
    The problem(s):
    1. The Trash folder receives mail from my Inbox - NOT PUT THERE BY ME! If I MOVE it back to the Inbox, sometime later it is back in the Trash folder. Currently, I have 76 emails in my Trash folder - that's another problem; if I want to delete them, I have to manually select them ONE AT A TIME - unlike the Trash can which allows deleting all at once. I would like to DELETE THE TRASH FOLDER, but then if Mail decides to move emails from the Inbox without my permission, WHERE WOULD THE EMAILS GO?
    2. The Bulk Mail folder also receives mail that should be coming into only my Inbox. My desktop Mac, with the same email account, receives the same emails into its Inbox and thankfully leaves them there.
    This automatic switching of emails from the Inbox to the Trash folder or to the Bulk Mail box is frustrating to say the least. When I go to the "iPad User Guide," there is no help for Mail Mailbox management; write, finish, work with, and print messages but no MAILBOX MANAGEMENT HELP!
    Please instruct me or send me to a tutorial on iOS Mail's mailbox management.
    Thanks,
    bob

    davekr wrote:
    I do appreciate your help and it's quite a find the link you provided,
    however I am not still clear that if I map the Gmail boxes to Trash, Sent, and Drafts in Mail.app, will this result in only 1 version of each box visible in the mail.app sidebar?
    That's correct.
    will this result also apply to the boxes (Trash, Sent, and Drafts in) on an iphone?
    No... you'll need to do the mapping on the iPhone as well.

  • Lost my Mail Inbox after upgrade

    I just upgraded from 10.2.8 to 10.4.3. I archived users when I met with upgrade failures. There was no opportunity to restore users provided. I manually moved the previous system folders by logging in as root and managed to recover many things.
    I am having trouble recovering my old mail inbox (from a POP account) . I have found my sent mail, old-old mail folders that I didn't know still existed, and I have even found deleted mail. What I don't see is my old inbox. I backed up my mail directory before the upgrade and I don't see an Inbox there either.
    Is the inbox configured differently than the Sent, Deleted, and other user mailboxes I had? If so where does the Inbox live and what is it called? How can I get my email back?
    Side comment. It would be nice if the Migration Assistant was capable of handling archived user directories.
    All help is appreciated.

    I just ran into this same problem. Just upgraded to Tiger (I thought the bugs would be out by now!!!) I did make a retrospect backup but am finding it impossible to bring in the POP as well. Hoping someone has an answer.
    The search continues....

  • Gmail emails disappearing from my Mail inbox

    Hi,
    I use the Mail program to manage my emails on my MacBook Pro (as well as my iPad and iPhone).  I recently set up a gmail account and have been having a strange problem.  Sometimes after I read a gmail, it disappears from my Mail Inbox folder.  I haven't been able to figure out a pattern as it doesn't seem to do it every time.  When our IT manager configured my computer for gmail, I ended up with a  Gmail folder and two subfolders called "All Mail and one called "Important" on my Mail desktop.  I told him I didn't want or need those folders but he couldn't get rid of them.  When the gmails disappear from my Mail Inbox, I can always find them in one or both of these Gmail folders.  But the problem is I get so many emails I don't always notice that one has disappeared until it is too late! This is causing some significant problems.  No one has been able to figure out how to stop these emails from moving on their own. Our IT manager is more familiar with PCs than Macs.  I hope you can help!!  It's very frustrating!

    No. The email never makes it to me. It is on my iPhone for an instant, but then it disappears. It never makes it to my Outlook on my computer, and it is not in the Junk Mail, Deleted Items, or in my Sonic Wall Spam Filter box. There are 4 other people in my office, and I know that at least 2 of them are having the same problem. I can't tell if this is a problem with my iPhone or my Exchange Server. Help!

  • 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

  • Mail: Inbox - changes and give false info ?

    I am having a problem in that the message headers in Mail might say:
    FROM John Smith SUBJECT RE: Houston Milk Merchant DATE RECEIVED June 3, 2010 4:53 PM
    and when I open the mail it is:
    FROM [email protected] SUBJECT Google Alert - mezcal DATE RECEIVED June 4, 2010 2:21:18 AM MDT
    Rebuilding mailboxes does not help (other than adding a thousand of deleted messages to my inbox)
    Any help appreciated.
    R

    strange IMAP error in Mail where all the header info was pointing to the wrong message.
    Example from inbox:
    From = Ulrike Subject = Ulrike Date Received = June 4th, 2010 Mailbox = inbox - rcooper@...
    <and here is the actual>
    From: [email protected]
    Subject: Inv. 5312 - Inv. 5314
    Date: June 6, 2010 3:59:58 PM MDT
    To: [email protected]
    Hi Ron,
    Inv. 5312 - SW&S-NM - 6 cases CHI.
    S.

  • 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

  • Both inbox and outbox from Gmail ends up in my gmail/pop/mail inbox

    Both inbox and outbox from Gmail ends up in my gmail/pop/mail inbox; how to resolve?
    - So: the mail I send via gmail comes also in my inbox of mail in which I use the gmail pop account.
    Please help!

    This is a Gmail issue. Gmail POP access doesn’t work like a normal POP mail server would. Here are some of its idiosyncrasies:
    1. Messages downloaded by any conventional POP mail client are marked as downloaded at the server (but not as read on the web), and no longer available to either the same or any other POP mail client.
    2. To make already downloaded messages available for POP access again, you must go to Gmail’s Settings > Forwarding and POP page, select Enable POP for all mail, and click Save Changes, which causes everything (and I mean everything) still on the server to be downloaded again.
    3. The Mail > Preferences > Accounts > Advanced > Remove copy from server settings have absolutely no effect on the messages stored on Gmail’s server. Gmail ignores any requests to delete messages from the server made by a POP client. What happens to the messages on the server after a POP client has downloaded them is determined by Gmail’s Settings > Forwarding and POP > When messages are accessed with POP setting alone. In the case of Gmail (and only in that case), I recommend turning OFF Remove copy from server in Mail, so that Mail doesn’t even try to remove any messages from the server, regardless of whether you do actually want already downloaded messages to be removed from the server after some time or not.
    4. Messages sent using the web interface will be downloaded by your POP mail client as if they were received messages. Although this may seem weird, it's good because it allows archiving all messages locally in Mail, regardless of how they were sent — as long as you don't access the same Gmail account with more than one POP mail client, that is. You can set up a rule in Mail to automatically route those messages to the appropriate Sent mailbox (or to any other mailbox for that matter) if that's what you want.
    5. Messages sent using a POP/SMTP mail client such as Mail are also treated as if they were incoming messages for POP purposes, just as in #4. What prevents them from being downloaded is that Gmail marks them as already downloaded immediately. Since they’re on the server nonetheless, already sent messages would be downloaded together with all the other messages on the server if proceeding as described in #2.
    6. A particular case of #5 are messages sent to yourself. Instead of putting a copy of the sent message in the server’s Inbox and making it available for download, both the sent and the “received” message on the server are actually one and the same, and hence, cannot be downloaded via POP for the reason explained in #5.
    7. Gmail allows POP accounts to be set up in a special way that avoids some of these issues while introducing others. If you only need POP access to the last 30 days of mail, you can configure Mail in “recent mode”, as described in How should I use POP on mobile or multiple devices?, i.e. by typing “recent:” (including the colon but not the quotes) at the beginning of the User Name field (not in the Email Address field) in Mail > Preferences > Accounts > Account Information. Configuring the account this way would allow Mail to download messages marked by Gmail as already downloaded (and download messages sent to yourself in particular), but it would also cause all sent messages (not just messages sent to yourself or through webmail) to be downloaded as if they were received messages.

  • I run 3 email accounts on Mac Mail, all 3 disappeared after doing the latest OS X update. I have tried adding the accounts back but no mail appears. Help!

    I run 3 email accounts on Mac Mail, all 3 disappeared after doing the latest OS X update. I have tried adding the accounts back but no mail appears. Help!

    The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The  MAILBOXES category can't be hidden.
    In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down.

Maybe you are looking for

  • Animated Gif's in Mac Mail

    There have been a couple of threads on this now closed without a solution. I discovered how a somewhat tedious way to get an animated gif into a mac mail msg while seeing the animation in action. I used iWeb to create a blank white pate. I then inser

  • How to deactivate the rosetta option if it is not shown in information page

    Hi, by accident or why ever I clicked the option "start with rosetta" on my eyetv.app. STRANGE now the option is no longer viewable in information field and I can't start the application inside of the application folder because I get then the message

  • How to bring the Cost of Depreciation to Costing

    Hi, How to bring the Depreciation Cost, Interest on Working capital to Costing. We have created the Cost components for those mentioned items and what criteria we can bring the values to Costing. Thanks Prasad

  • CALC 12C - Where did it go?!?  What now?

    I had downloaded a wonderful app "CALC 12C" which was a terrific emulation of the HP 12C calculator, and free. It was from Crimson Research. I still have it on my iPhone, no problem. Yet. What happened? Anyone know? Perhaps more to the point, when Ap

  • Client server code with errors could some one please help me!!!

    I am using a random access file to design the two interfaces for my client and my server is this the right thing to do? Oh could some one give me some example code of client server interfaces. I got an error in the code for the interfaces and I don't