Auto-delete mails with ZIP attachments?

Unfortunately, I have to do business with Windows users whose machines seem to be infested with viruses that harvest email addresses. As a result, I am engulfed daily with mail that contains Windows virus attachments (ZIP files) and spam with GIF attachments. And I'm tired of it. Reporting the senders to their ISPs is an exercise in futility.
Since the only legitimate attachments I receive from clients are always, and without exception, Stuffit SIT or SITX files, is there any way to set up a rule in Mail that will delete emails with ZIP or GIF attachments but allow those with SIT/SITX files through?
There doesn't seem to be a way to add "Attachment" to the list of headers in Rules. In view of the fact that the most common vector for viruses is via email attachments, this seems to be a major oversight on Apple's part.
Any hints on dealing with this?
Kind regards.

Dave,
sorry for being late but I just saw your message now...
In 10.3.x, there indeed is no way to filter based on attachment names (this is a new feature present in 10.4.x). However, you should be able to mark all those messages as spam and filter them to your junk mailbox using Junk Matcher:
http://junkmatcher.sourceforge.net/
Andreas

Similar Messages

  • Rule to delete all mail with ZIP attachments?

    Unfortunately, I have to do business with Windows users whose machines seem to be infested with viruses that harvest email addresses. As a result, I am engulfed daily with mail that contains Windows virus attachments (ZIP files) and spam with GIF attachments. And I'm tired of it. Reporting the senders to their ISPs is an exercise in futility.
    Since the only legitimate attachments I receive from clients are always, and without exception, Stuffit SIT or SITX files, is there any way to set up a rule in Mail that will delete emails with ZIP or GIF attachments but allow those with SIT/SITX files through?
    There doesn't seem to be a way to add "Attachment" to the list of headers in Rules. In view of the fact that the most common vector for viruses is via email attachments, this seems to be a major oversight on Apple's part.
    Any hints on dealing with this ****?
    Kind regards.
    Message was edited by: Dave Bourke. I'm sorry, when did the common word for Hades become forbidden? John Milton is on the banned list now? What is happening to the world?

    Many thanks for your very helpful response, Mikkel.
    However, when I expand the headers on any mail that contains an attachment, there is no header named "Attachment," just a paperclip symbol with an expand arrow.
    So if I go to create a Rule, first of all there is no "Attachment" header in the Conditions list, and second it is unclear how to enter such a symbol-based header in the "Edit Header List..." dialog. Do I simply type the word "Attachment" into the dialog as a header even though it never actually appears in any emails with attachments?
    Still mystified...
    Kind regards.

  • SAP PI7.31 : Mail with multiple attachments - how to process via UDF

    Hi
    wondering how I can approach this problem.   I have to read an Email with any number of attachments  - it can have between 1 and 4 or maybe more of different types (CSV,XLS,PDF,ZIP).  I need to read this email and extract the attachments to a folder.
    Just to let you know I have done this OK for an email that I know only has 2 attachments ! Works perfectly - just no good for ?n? attachments !
       Mail Sender has AF_Modules/MultipartHeaderBean to add payload Attributes
       The message is sent to 2 Receivers
       Each Receiver File adapter then uses AF_Modules/DynamicConfigurationBean and AF_Modules/PayloadSwapBean
    Problem is that when I do not know how many attachments there are.  So I will have to write a Java UDF mapping, perhaps using the classTransformationInput.
    My question is : To create a Java UDF what should be structure of a sent Email message Type look like so I can feed that into a UDF to check what payload attachments there are etc ?.

    As long as you use java mapping, you can have any dummy structures for your interfaces.
    But, if you prefer to use graphical mapping with UDF, then you should have some valid structures for your mail and file interfaces. e.g., mail pack XSD for mail interface as metioned by Indrajit Sarkar
    and again the same structure for the file interface as well so that you can have one to one mapping an then make use of UDF code from the article. Use payload swap bean in the receiver file channel to replace xml payload with Zipped attachments and then finally use script to unzip this zip file.
    Rgds,
    Praveen Gujjeti

  • I receive many e-mails with zipped files.  In the past few weeks I can no longer open them as I used to.  I get a window welcoming me to the Application Loader.  ( What is an Application Loader?)  It says I need my iTunes Connect login, but when I try my

    I receive many e-mails with zipped files.  I can no longer open or unzip my files. A window welcoming me to Application Loader drops down.  It prompts for an iTunes Connect login, but will no accept my iTunes login. I have no way to open or unzip my files. Help!!!!

    Application Loader, unless there's another one I'm not familiar with, is part of the iOS SDK. That have usurped the .zip, or you may have removed that application but your Mac is still holding onto the mapping of Zip files to that application. Select a .zip file in Finder, Get Info, and go to the Open with section. Select Archive Utility and click Change All. That should fix the problem.
    Regards.

  • Sending mail with multiple attachments

    hi.I wrote a code to send mail.but i need to send mail with multiple attachments.here is the code i wrote.what should i do to send the mail with multiple attachments.if i run this code iam able to send mails but not attachments.please help me
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
         String Attachfiles2="";
    String Attachfiles3="";
    if("Send".equalsIgnoreCase("send"))
              try
         String subject="",from="",url = null,to="";
         String mailhost = "our local host";
         Properties props = System.getProperties();
         String msg_txt="";
         String strStatus="";
    // byte[] bin=.....;
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    message.setSubject(subject);
    message.setHeader("X-Mailer", mailer);
    message.setSentDate(new Date());
    message.setText(msg_txt);
    BodyPart messageBodyPart = new MimeBodyPart();
    BodyPart messageBodyPart2 = new MimeBodyPart();
    Multipart multipart = new MimeMultipart(); // to add many part to your messge
    messageBodyPart = new MimeBodyPart();
    javax.activation.DataSource source = new javax.activation.FileDataSource("path of the file");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("file_name");
    messageBodyPart2.setText("message"); // set the txt message
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart2);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    if("Attachfiles".equalsIgnoreCase("attachfiles"))
    Attachfiles1=request.getParameter("fieldname1");
    Attachfiles2=request.getParameter("fieldname2");
    Attachfiles3=request.getParameter("fieldname3");
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemail.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>Name</th>
    <th>EmailId</th>
    <th>ContactNumber</th>
    <th>Position</th>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <%=Attachfiles1%><br><%=Attachfiles2%><br><%=Attachfiles3%><br><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with multiple attachments in jsp

    hi .I wrote a code to send a mail in jsp.but now i need to send mails with multiple attachments.how can i send mail with multiple attachment.

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with 2 attachments

    Hi All,
            I have a requirement where I have to send a mail with 2 attachments. Both attachments should be excel sheets.
    Iam using the function module
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
         contents_bin               = it_attachment
          receivers                  = it_receivers
        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.
    I don't know where to pass another attachment.
    How can it be done?
    Kindly help me.
    Regards,
    Krithika

    Hi,
    Try this code.
    you have to populate both packing_list and contents_bin internal tables before passing to the fm SO_NEW_DOCUMENT_ATT_SEND_API1
    FORM CONVERT_OTF_TO_PDF TABLES OTFTAB STRUCTURE OTF.
      CLEAR: SOOD, W_LINES, CONTENT_IN, CONTENT_OUT.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      DESCRIBE TABLE OTFTAB LINES W_LINES.
      SOOD-OBJLEN = W_LINES.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      CLEAR: CONTENT_IN, CONTENT_OUT.
       CONTENT_IN[] = OTFTAB[].
        CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
             EXPORTING
                  FORMAT_SRC      = 'OTF'
                  FORMAT_DST      = 'PDF'
                  DEVTYPE         = 'HPLJ5SI'
    *         FUNCPARA        =
                  LEN_IN          = SOOD-OBJLEN
    *    IMPORTING
    *         LEN_OUT         =
             TABLES
                  CONTENT_IN      = CONTENT_IN
                  CONTENT_OUT     = CONTENT_OUT
             EXCEPTIONS
                  ERR_CONV_FAILED = 1
                  OTHERS          = 2.
      REFRESH OBJBIN. CLEAR OBJBIN.
      IF GV_SUMMARY <> 'X'.
        OBJBIN[] = CONTENT_OUT[].
      ELSE.
        REFRESH CONTENT_OUT.
        CLEAR CONTENT_OUT.
      ENDIF.
      REFRESH: CONTENT_IN, OBJPACK.
      CLEAR: CONTENT_IN, OBJPACK.
      DOC_CHNG-OBJ_NAME = TEXT-003.
      IF SY-SYSID NE 'S4P'.
       IF DOC_CHNG-OBJ_DESCR IS  INITIAL.
          DOC_CHNG-OBJ_DESCR = TEXT-004.
        ELSE.
          IF GV_SUMMARY = 'X'.
           DOC_CHNG-OBJ_DESCR = TEXT-012.
          ENDIF.
        ENDIF.
      ENDIF.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Fill the fields of the packing_list for the main document:
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        REFRESH RECLIST.
        CLEAR RECLIST.
    ** get E-mail address
          IF NOT P_EMAIL IS INITIAL.
            RECIPIENT_INT-ADDRESS = P_EMAIL.
          ENDIF.
            RECLIST-RECEIVER = RECIPIENT_INT.
            RECLIST-REC_TYPE = 'U'.
            APPEND RECLIST.
    * SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
    * FOR SENDING DOCUMENTS WITH ATTACHMENTS
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
                PUT_IN_OUTBOX              = 'X'
           IMPORTING
                SENT_TO_ALL                = SENT_TO_ALL
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
               OTHERS                     = 99.
    Regards,
    Sailaja.

  • C3-01 can´t delete mails with attachment

    Hi,
    since one week I have the C3 touch & type. It`s a very nice mobile phone. But I have a problem: I can not delete mails with attachment in the mail programm. Mails without attachment are no problem. I have an mailaccount from "1und1" (Germany). Has anybody an idea, how I can solve this?
    Thanks alot.
    pastores

    The only way I've been able to delete them is to delete the email account from the phone, then add the account, again.
    Pretty painful solution.

  • Can't delete email with large attachments

    Received two email with large attachments (photos in format that iphone doesn't recognize). Now can't delete or move to trash these two email. They just return to inbox and mail freezes, goes black, or returns to home screen. Clearing out all other mail in trash doesn't help. Reset doesn't help. I can still receive new email to my inbox and delete those just fine, but these two large email with attachments are stuck in my inbox.

    Well, I have the same problem. I tried to delete the specific account and redo it - but the ** email was still there. I've gone to the webmail site for the account, and deleted it there. It's deleted from my laptop, but keeps coming back on my iPhone. So, my iPhone is set to show 25 emails, but I don't understand what you mean by "send yourself 25 messages". Sounds like your solution works, and I'd sure like to try it. Looks like Apple needs to come up with an easier solution too. Thanks.

  • Can I prevent emails with zip attachments?

    I keep getting junk emails sent to me on a daily basis which contain .docx.zip attachments. I want to somehow exclude them from my inbox and filter them out. Is this possible?

    You can't "exclude them from your Inbox" because Thunderbird can only work on what is in the Inbox; so by the time it can do anything, about such messages, it's already too late.
    My filter dialogue offers me an option to filter on attachments. It goes away when I restart in Safe Mode but I haven't yet been able work out which extension is doing it. Such a feature might allow you to automatically filter and dispose of such messages.
    It will be one of these:
    Extensions<br>
    abcTajpu "a b c type-oo", 1.8.3, true, {15a7ef52-8a77-426e-9e17-e21af257d7c8}<br>
    Adblock Plus, 2.5.1, true, {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}<br>
    Address Close Button, 1.3, true, [email protected]<br>
    Auto Address Cleaner, 1.0.3, true, {b65d0be3-cc20-44e1-bbaa-ea394dbffa34}<br>
    Auto Resize Image, 0.13.1, true, [email protected]<br>
    British English Dictionary, 1.19.1, true, [email protected]<br>
    Clippings, 4.1, true, {91aa5abe-9de4-4347-b7b5-322c38dd9271}<br>
    CompactHeader, 2.0.8, true, {58D4392A-842E-11DE-B51A-C7B855D89593}<br>
    Copy Sent to Current, 1.0.9, true, [email protected]<br>
    EditHtml, 0.2.3.4, true, {4a104f95-6584-4f9d-81cf-8071c43d5510}<br>
    Enigmail, 1.6, true, {847b3a00-7ab1-11d4-8f02-006008948af5}<br>
    Expression Search / Google Mail UI, 0.8.7, true, {03EF8A6E-C972-488-92FA-98ABC2C9F8B9}<br>
    Extra Folder Columns, 1.1.5, true, extra-cols@jminta_gmail.com<br>
    Folder Filters Button, 1.3, true, [email protected]<br>
    Folder Pane View Switcher, 1.10, true, [email protected]<br>
    gContactSync, 0.3.6, true, [email protected]<br>
    Get Selected Mails, 0.9.12, true, [email protected]<br>
    HabuL, 1.14.0, true, {41e52bd9-defc-4a0f-a542-cf643a0776d1}<br>
    Ignore Aero (Hooks), 1.0.3.0, true, [email protected]<br>
    JunQuilla, 1.0.3, true, [email protected]<br>
    Lightning, 2.6.4, true, {e2fda1a4-762b-4020-b5ad-a41df1933103}<br>
    LookOut, 1.2.13, true, [email protected]<br>
    Mail Redirect, 0.7.8, true, {CC3C233D-6668-41bc-AAEB-F3A1D1D594F5}<br>
    MoreFunctionsForAddressBook, 0.6.9.1, true, {3e17310d-82e8-4a43-d2f-7c3055bfe589}<br>
    OpenAttachmentByExtension, 0.3.5.1, true, {7fa339e4-02cd-433b-ad71-4db623c6877e}<br>
    PrintingTools, 1.2.3, true, {5e9999c2-ba1d-44b6-bcee-5b30ce37d3b0}<br>
    Quick Folder Move, 0.10, true, [email protected]<br>
    QuickFolders, 3.14.1, true, [email protected]<br>
    StartupMaster, 1.6, true, {506d044e-41fa-4cc8-9dc6-9ff70e96eebf}<br>
    Stationery, 0.8.4, true, {d0e38b3a-0d60-46bf-bf01-83d4ba041015}<br>
    TitleCase For Thunderbird, 2.5, true, [email protected]<br>
    URL Link, 2.04.1, true, {139a120b-c2ea-41d2-bf70-542d9f063dfd}<br>
    Attachment Options, 1.0, false, [email protected]<br>
    Change quote and reply format, 0.8.1.1, false, {f6090211-2004-44d8-9090-e3c2adfd66f}<br>
    Correct Identity, 1.4.1, false, {47ef7cc0-2201-11da-8cd6-0800200c9a66}<br>
    Custom Buttons, 0.0.5.7, false, [email protected]<br>
    DOM Inspector, 2.0.14, false, [email protected]<br>
    Dropbox for Filelink, 1.0.1, false, [email protected]<br>
    Duplicate Contact Manager, 0.9.2, false, {b4447f60-db9c-11da-a94d-0800200c9a66}<br>
    EMail Address Crawler, 5.1.1, false, [email protected]<br>
    FiltaQuilla, 1.2.0, false, [email protected]<br>
    Identity Chooser, 1.8.5, false, [email protected]<br>
    ImportExportTools, 2.8.0.4, false, {3ed8cc52-86fc-4613-9026-c1ef969da4c3}<br>
    Launchy, 4.4.0, false, [email protected]<br>
    LightningButton, 1.5.3, false, [email protected]<br>
    Mail Merge, 3.7.1, false, [email protected]<br>
    Mail Summaries, 2.1.3, false, [email protected]<br>
    MailHops, 0.8.2, false, [email protected]<br>
    mmsAutoCorrect, 1.0.3, false, [email protected]<br>
    Remove Duplicate Messages, 0.1.13, false, {12345678-1234-1234-1234-123456789abc}<br>
    Remove Duplicate Messages (Alternate), 0.3.9, false, {a300a000-5e21-4ee0-a115-9ec8f4eaa92b}<br>
    Show All Body Parts, 1.2, false, [email protected]<br>
    Show fixed-width temporarily, 0.7, false, {650B62B3-FAEE-48dd-BDBD-FB2A61B74CCD}<br>
    Signature Switch, 1.6.12, false, {2ab1b709-ba03-4361-abf9-c50b964ff75d}<br>
    Theme Font & Size Changer, 7.7, false, {f69e22c7-bc50-414a-9269-0f5c344cd94c}<br>
    ViewSourceWith, 0.9.4.2, false, {eecba28f-b68b-4b3a-b501-6ce12e6b8696}<br>
    Alternatively, visit your email provider's website to see if they offer any suitable filtering.

  • Deal with mails with / without attachments

    My codes actually can save the image attachment of emails from email server. But, one problem I have is the codes don't work for mails with no attachment. How can solve this? I have added the structure of how I coded it. I am not sure if I can modify the 2nd part of the codes such that mails without attachment can work too. Pls advise. thank.
    My code pattern is like this:
    1st part : Connection.
    2nd part:
    if (contentType.startswith("image/")){
    //get the image and save to folder and insert path to image table of database
    if (contentType.startswith("text/plain")){
    // insert image id and text to another table of database
    3rd part: Delete email.

    I don' have the demo folder currently. Any sample code that can be posted here?
    I tried
    if(disposition == null){
    //do this for emails with no attachment
    else if (disp.equalsIgnoreCase(Part.ATTACHMENT)){
    //do this with attachments
    else{
    out.println("invalid");
    But it still can't work. The (disp == null) seems to pass in all values for both emails with attachments or no attachments....Why??

  • Unable to auto forward mail with encryption

    Hi,
    I'm currently testing mail exchange with encryption. I have setup two accounts with a comodo class 1 free email certificate. In Outlook 2013, the checkbox for "encrypt contents and attachments for outgoing messages" is ticked and I am able
    to send encrypted mails from outlook 2013 between these 2 accounts fine. Now, I have setup a rule on one account to auto forward  mails to the other account based on subject and sender. Outlook is open and active the entire time during my test,
    but the mails get send UNENCRYPTED. Whenever I trigger the rule by "run rules now", the mails will be send with Encryption.
    Anyone know why this is happening and whether there is a way of getting this to work?
    Regards and thanks in advance,
    Roger

    Hi Roger,
    Are the messages that got forwared by the auto forward rule previously encrypted?
    Maybe you can try below approach and see if it works. Create below registry key in Registry Editor, Outlook will automatically encrypt a message that you are forwarding which was originally encrypted:
    Path: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security
    DWORD Value: NoCheckOnSessionSecurity
    Value data: 1
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Syncing Mail with Word attachments without the internet?

    Is there a way to sync email with Word doc. attachments with a desktop, via a usb cable, without the desktop having an internet connection?
    The setup is an iphone that syncs mail with a work computer that is internet connected. At home there is no internet accept Edge; i.e. iPhone gets internet but the desktop does not. I would like to use the iphone to move Word docs from emails back and forth to the desktop. I.e. someone emails me with a word doc attachment, (ii) Can I then sync (download) the attachment onto my home computer via a USB cable, edit the document? and then (iii) sync (upload) the edited word document back to the iPhone (which will then sync with my work computer via the Edge connection.
    Thanks in advance!
    Message was edited by: Tooschaye

    Hey Tooschaye,
    iTunes will sync the email account settings to the iPhone, it does not sync the actual emails or attachments.
    You should be able to find a few applications on the App Store which will let you store files on your iPhone. Then you can transfer the files to your desktop. I believe most of these apps require the devices be on the same Wi-Fi network.
    -Jason

  • Mail with 6MB attachments created a 69 MB Monster, up and down, no end!

    Yesterday I sent a mail with about 6 MB of data, I couldn't wait until mail did its usual play with stupid upload to .Mac, upload to draft, re-download to drafts again, re-download to sent messages and so on. Today mail does nothing but trouble, everytime I start mail it wants endlessly to down- and upload a monster of a 69 MB file that I've never created and there is nothing to see, wheter to delete nor to refuse. Activity shows only that nothing goes forward and this task blocks anything else, I can't recieve mails, I can't send mails this way. This issue let go down anything with mail on my iMac! What can I do???

    Couldn't wait means I couldn't wait until it finishes this endless story!
    After a week of absence there is still the same problem. Ever and ever again it copies a 69 MB Monster to my drafts folder, I waited up to 5 of the same mail listed in the drafts folder and there was still no end. Deleting the files from drafts doesn't do anything, it shows "copy mail" in the activity window and there is no hope to end that task in hours! Then, after a while there is a timeout with .Mac.
    H O R R I B L E ! ! !

  • MAIL WITH SMALL ATTACHMENTS LIKE 1.00 MB ALSO DOESN'T GO

    WHEN I TRY TO SEND MAILS WITH ATTACHMENTS THEN ATTACHMENTS AS SMALL AS 1.00 MB IS ALSO NOT GOING. WHEN I LOG IN TO MY SERVICE PROVIDER SITE AND MAIL IT FROM THERE THEN THERE IS NO PROBLEM.

    Is that a Thunderbird support question? Firefox doesn't "do" email, but it will display email at the ISP website.

Maybe you are looking for

  • Photoshop Quit Unexpectedly. WONT OPEN.

    I've tried to open a psd file in photoshop CS5 Extended and I keep getting a message that says photoshop has quit unexpectedly. I've tried restarting my computer and reinstalling the software, but nothing seems to work.

  • Sqlplus Spool without extension

    Hello the answer is in the title I want to konw if it's possible to Spool a filename without extension in sqlplus commandline Spool Toto Select ... Spool Off is it possible to have a result file name toto and not toto.lst?? Thank

  • Javax.mail, javax.mail.internet package

    hi all, i ve a mail application,in jsf page. but on running it shows package javax.mail, javax.mail.internet does not exist. where do i get these packages ? thanks

  • Can't save psd file in CS5 op afp nas

    Hello, When I want to save a psd-file with Photoshop 12.0.2 CS5 on a synology NAS (DSM 3.1-1605) with afp-protecol, the file saves en disappears. It only happened with psd files. Tiff (also in layers), jpg or psb files saves perfectly. Before install

  • Java with Safari 6

    Help! just upgraded to Mountain Lion/Safari 6 (should have waited!) and lost my IP VPN connectivity as it seems to rely on a Java plugin that is no longer working as expected...  Can anyone help?