Error in Mail!

I need your help.
I have a macbook and the mail 6.5 installed. What happens is, when I create new folders, show me 2 folders with the same name (see image below) and if i delete some of them, it deletes the 2, so all emails that I have in this folder are deleted.
Someone can help me solve this problem?
Thanks

Quit Mail. Force quit if necessary.
Back up all data. That means you know you can restore the Mail database, no matter what happens.
Triple-click the text on the line below to select it:
~/Library/Mail/V2/MailData/Envelope Index
Copy the selected text to the Clipboard (command-C). In the Finder, select
Go ▹ Go to Folder
from the menu bar. Paste into the box that opens (command-V), then press return.
A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Other files in the folder may have names that begin with "Envelope Index". Move those files, if any, to the Trash.
Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.
Test. If Mail now works as expected, you can delete the file you moved to the Desktop. Otherwise, post your results.

Similar Messages

  • Error message :mail unable to remove deleted messages in the mailbox

    Hi,
    I am frequently getting this error message: Mail was unable to remove the deleted messages in the mailbox (my email address) on server "mail.mac.com".
    The server error encountered was: Error MFMessageErrorDomain 1028
    Sometimes the error message says that time has logged out. The thing is, most of the time, even though I get the error message, the deleted messages are being removed. Once or twice, I had to delete a couple of messages a few times. I've been getting the error message several times a day for the last couple of days.
    If anyone can enlighten me about why this happens, I would appreciate it.
    Thanks

    Well guys, all of you who are having this problem, it appears as if no one in the know is interested in giving any insight into why this happens. As of now, I haven't gotten the error message for a couple of days, so maybe it's something which resolved itself, something with the server. I would still like to know why this happens, and I wish those of you who still are having the problem could get some answers. It it's possible, go to an Apple Retail store, and see if you can talk to a genius about this issue.

  • Fixing :there was an error sending mail"

    I am using Adobe Reader 9 and Acrobat 8 Pro on a Lenovo, Windows 7, 64bit machine. When I right-click pdf files from my directories, and select "send", the file attaches itself to a new e-mail (from Outlook) and I can send - no issues. However, if I am viewing an open pdf and I select the e-mail or send icon from the toolbar, I get an error message (first box just says "error", then second box says "there was an error sending mail". I have Googled this issue and, in turn checked my Windows settings for Outlook, etc. I see no issues. I have run Adobe updates - still doesn't work. Any ideas?
    Thanks, Wayland

    What I'm trying to say, that when I update my App there an error appears

  • File to Mail Scenario- Error in Mail Adapter

    Hi,
    I am working on File to Mail Scenario- I am getting the below Error in Mail Adapter
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: no receiver address specified.
    Could any one please provide a solution
    Rgards,
    Varun

    Please recheck the mail adapter configuration.Check the url field.
    Ref for Mail adapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

  • Error in Mail Reciever Adpater --Configured IMAP4 protocol

    Hi All,
    Error in  Mail sender Cc:
    "exception caught during processing mail message; java.net.UnknownHostException: NZXXX.dknz.corp.net " .NZXXX.dknz.corp.net is the Mail Server.
    The Requirement is MAIL > FILE . Petch the Invoice(Attachment) from the Mail and save in the Network Folder(File)
    The Mail Sener CC is configured for IMAP4
    Mail server paramters:
    imap://NZXXX.dknz.corp.net NXINVOICES  where NXINVOICES  is the Inbox
    -There is no Subfolders
    -Login Credentials of the Mailbos is correct
    (cross checked the Microsoft Exchnage Server  : It is correct.)
    -Default XI paramters provided in Mail Sender Cc is of "File reciever and the URN namespace) which is correct.
    Any other Info : I did check the blog : error in mail adapter whilst using 'mail package' option , and help.sap .com:http://help.sap.com/saphelp_sm40/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm for PAYLODA SWAPBEAN, I have not added  in parameters in module configuration.There is only 1 1 module adapter:
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean .
    I am not able to figure out what  the mail Sender CC is red and throwing Error.Kindly help
    I need the same info in my requirement . The Scenario is THe Vendor sends the email with Invoices ( An Attachment) to a mail server and the attachment has to be moved to the network folder (File )
    Here , I used IMAP4 Protocol in MAil Sender CC
    I wanted to know is it required to use :localejbs/ AF_Modules/PayloadSwapBean and any module configuration to petch the attachment ?

    Hi All,
    My issue is resolved , These were few updates to resolve this issue
    1. The IMAPS was used  in  Mail Sender Adapter : imaps://10.192.101.16:993/Inbox
    *IP address of the Mail Server was got from the Admin )
    2. Ports : 143, 993  are opened for the Mail Server to access for XI SERver ( Raised an Ticket to open Ports of Mail server :NZTxxx.dknz.nzcorp.net)
    3. As the attachment was only in PDF : Added swapbean in Module tab as below :
    Process Sequesnce :
    -Make sure:  AF_Modules/PayloadSwapBean     Modul key :  TRANSFORM  is added before sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    -And under Module Configuration select  : TRANSFORM as Module Key and add >
    swap.keyName  Content-Disposition
    swap.keyName  Content-Description
    swap.keyValue   attachment;filename='MailAttachment-1.xml"
    swap.keyValue  MailAttachment-1
    -Save and activate , Check the Message status (Eaiting /System Error) in Message Monitoring ... .MAIL SENDER Adapter is up and running and file is placed in the network folder.
    Best Regards,
    Vara

  • Compaction Error in Mail etc.

    Yesterday I started getting a compaction error from Mail when I tried to delete large portions of the Inbox. Although I could delete a few emails at a time and then quit. they were back after the next compaction. Today I tried to troubleshoot it, and I think I made it worse. Note: I was unaware of the "Rebuild" mailbox option.
    I eventually found this forum discussion and it sounded like my problem, so I tried it:
    With the Mail.app quit and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account).
    Move the account named folder to the Desktop. The account named folder contains all mailboxes associated with the account such as the account's Inbox and Sent mailbox.
    Launch Mail and a new account named folder will be created automatically by Mail within the Mail folder.
    I tried Mail again, and now I somehow had lots of junk mail back which I'd long since deleted, in my old Inbox. I was also missing some emails, from Jan. 2, 2007 'til now. I "got new mail", and it's only from Feb. 5 2007 'til now (1 month on the server.)
    The size of the old Inbox was 96.4 MB. After importing it, it's 87.2 MB. Would that account for the missing emails? If so, how do I get them back?
    iBook G4   Mac OS X (10.3.9)   22 GB free on hard drive

    Thanks for the response. Sorry that was so confusing.
    I found the "instructions to import the old mailboxes from the original POP account named folder moved to the Desktop" in another thread, and I'll be darned if I can find that thread again today.
    (This should be a bit more clear.)
    I removed the PoP account to the Desktop, opened mail so it recreated the Inbox, and imported the contents of the original PoP folder into mail.
    After importing, I had the imported Old Inbox containing deleted junk mail which somehow returned, and some emails were missing. I tried the same deletion of large blocks of mail that caused the error message in the original Inbox, only now it worked perfectly.
    > I "got new mail", and it's only from Feb. 5
    2007 'til now (1 month on the server.)
    This is for/within the old Inbox mailbox that was
    imported from the old account named folder moved to
    the Desktop?
    Nope, the new mail was in the original Inbox-mailbox, which was clear until I hit Shift-Command-N. The Old Inbox is in its own, newly-created-when-imported mailbox.
    Pre-import Old Inbox contents:
    content_index 3.7 MB
    content_index-(null)-303 2.4 MB
    content_index-localhost-257 2.6 MB
    content_index-localhost-393 948 KB
    Info.plist 4 KB
    mbox 86.4 MB
    tableofcontents 232 KB
    iBook   Mac OS X (10.3.9)  

  • Error through Mail

    Can we send errors through mails? How can I proceed?

    Use the FM "" SO_NEW_DOCUMENT_SEND_API1 ""
    It can be used to send mail (SAPMAIL)

  • Disk I/O errors with Mail only

    For the past few days, I have noticed Mail was running slowly - especially when starting.  Would take forever to start pulling in messages.  I looked for solutions and disabled non-essential accounts.  Then I took all 5 email accounts offline.  Still would get hangs and even beachballs today.
    I opened console and found that I was getting a LOT of disk1s2 I/O errors whenever Mail was opened.  The errors would continue until it was closed.
    Note: This is on a mid-2011 iMac.  Disk1s2 is the internal hard drive.  I now boot off an SSD thunderbolt.  The internal holds all data; applications live on the SSD.
    I restarted the computer.  Then opened console and waited.  No i/o errors.  I opened every other program in my dock and got one i/o error when Carbon Copy Cloner was first opened.  I closed everything and then opened Mail.  It hung as usual and the I/O errors started coming.  I eneded up with 40 I/O errors in the 10 minutes that Mail was opened and (eventually) closed.  This was with all accounts set to offline.
    I'm stumped.  Any thoughts???
    Thanks
    E
    About this Mac: OS 10.9.3 2.7 i5 32 gigs RAM (I use Photoshop a lot and decided to max out RAM).  Ram has been there for over 1 year.

    The hard drive is failing, or there is some other internal hardware fault.
    Back up all data on the drive immediately if you don't already have a current backup. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Error: "javax.mail.MessagingException: 505 5.7.3 Client not Authenticated

    While trying to run a program to sent sms to mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was not Authenticated.
    If anyone knows how to resolve this problem please reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
              System.out.println("SMS was not sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.length();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST);}
         Session session=Session.getDefaultInstance(props,null);
         try{
              Message msg=new MimeMessage(session);
              if(FROM!=null){msg.setFrom(new InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(TO,false));
              msg.setSentDate(new Date());
              Transport.send(msg);
              LASTERROR="Success";
              return true;
         catch(MessagingException max ){LASTERROR=max.getMessage();
         return false;}
    thanku

    Hi,
    it seems to me that you must authenticate with your smtp host. In order to do so, try following:
    While trying to run a program to sent sms to
    mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was
    not Authenticated.
    If anyone knows how to resolve this problem please
    reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws
    Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
    System.out.println("SMS was not
    t sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String
    subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.leng
    h();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST
    Session
    session=Session.getDefaultInstance(props,null);
         try{     // Get a Transport object to send e-mail
                   Transport bus = session.getTransport("smtp");
                   // Connect only once here
                   // Transport.send() disconnects after each send
                   bus.connect(host, username, password);
              Message msg=new MimeMessage(session);
    if(FROM!=null){msg.setFrom(new
    w InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAd
    ress.parse(TO,false));
              msg.setSentDate(new Date());// Send message
              bus.send(msg);
              bus.close();
              LASTERROR="Success";
              return true;
    catch(MessagingException max
    ){LASTERROR=max.getMessage();
         return false;}
    thankuGood luck

  • Error javax.mail.NoSuchProviderException: pop3

    When my application runs within JBuilder everything works fine. But with a native executable I get the following error: javax.mail.NoSuchProviderException: pop3.
    The Dependencies property for JavaMail=Include Dependencies. When set to Include All the native executable not even starts.
    What is wrong here?
    Greetings,
    Hans

    I had some difficulty looking for a solution to this problem.
    All solutions 'beat about the same bush' but I couldnt get any of them to work.
    My advice is dont give up- the problem will eventually be resolved.
    How I resolved it was to assume, ( rightly) that when working inside JBuilder, it is not using the machine classpath to find library files such as mail.jar, but looking at its own library of jar files to find mail.jar.
    I tracked down the JBuilder mail.jar in the /lib dir and copied out all classes beginning with POP... also all non Class files eg proviider and map files , the mailcap file and all files beginning with SUN, and also the Manifest file and placed them in a separate folder on the hard drive.
    I then made an application jar definition from my JBuilder application but told it NOT to make a manifest file.I then right clicked on the build file, and selected properties/content and added in all files from the directory that I previously made containing the files mentioned above.
    To the Manifest file in that directory I also added the mine Main Class: to tell it where my main class was.
    I then re-built the executable jar file.
    It worked. Just when I was down to pulling out the last tuft of hair.
    Message was edited by:
    1straybullet

  • ICloud error in Mail whenever macbook put to sleep

    Hey
    whenever I wake my MBP from sleep I get an error in Mail and no new mail gets delivered.
    Does anyone have a solution?
    Thanks

    This isn't unusual: I get much the same thing, though usually with another IMAP account. What happens is that when you wake your Mac it takes a few seconds to reconnect to your wireless network: but in the meantime Mail has tried to check your mail and failed because the network isn't up yet.
    To compound this, there is an annoying flaw in the design of Mail whereby once it's failed to connect to a server for any reason (this can happen just because the server is momentarily too busy) it takes the account offline and doesn't tell you - so you don't get any more mail on that account until you open Mail and notice the error message. This is completely daft, because it would probably work fine on the next check if it didn't do this.
    I don't see that there's any way round your problem other than quitting Mail before you sleep it, and booting Mail up again few seconds after you wake it.

  • Help me!!! Fix error mac mail

    Hi all
    I have macbook air using mac mail to send/receive, i config two account POP and IMAP. Account POP using normal but account IMAP is regular error.
    Mail is still received but attachments don't be read
    I was deleted account IMAP and reconfig, Create new user profiles and reconfig IMAP account but don't fix error.
    Please Help me!!! Thanks

    Hello,
    Is this POP account provided by your ISP? Is there an online link where the ISP provides info about how to set up their email account?
    In Mail, it is necessary to know whether the mail server expects the Username to be the portion of the email address in front of the "@", or the entire email address -- here we are talking about the entry block for Username, and not Email Address. If you are only entering the username portion, try the whole email address -- if you are using the latter, currently, try only the username portion.
    Access of the POP3 mail server, with Mail, uses only the Username and password, so the form of Username is critical.
    Ernie

  • Error message: Mail quit unexpectedly while using the AudioToolbox plug-in.

    I am receiving the following error message: Mail quit unexpectedly while using the AudioToolbox plug-in. I would appreciate any advice about what can be done to solve this problem. Thanks much.

    I am receiving the following error message: Mail quit unexpectedly while using the AudioToolbox plug-in. I would appreciate any advice about what can be done to solve this problem. Thanks much.

  • Why do I get a error saying mail was unable to find your reply. You may have deleted message.

    when sending email, I sometimes get an error stating: Mail was unable to find your reply to:  You may have deleted message. This does not happen with every sent message but it is doing it more and more. The reply is no where to be found.

    You posted in a 4 month old dead post. 
    You would do better by posting a "New Topic" in the OS/Mail forum area of which os you are using.  You will need to indicate which version os you are using as well as which version of Mail you are using in order to get the proper attention to your post.  This will help the users reading your post to suggest solutions.

  • Mail System Error - Returned Mail

    I have set up the Mail with my Pop accounts from the local cable company. I can send and receive all my mail through those email addresses.
    THE PROBLEM is that every mail recipient receives the above message when they send an email to me:
    Mail System Error - Returned Mail
    Reason: 5.1.1 unknown or illegal alias: [email protected]
    (xxxxxxxxx = my account)
    I receive the email, but the sender is concerned that I don't.
    I DO NOT have a mac.com address, nor do I need or want one.
    Can I delete the mac.com address somehow? I did delete the mac.com from my email accounts, but it didn't solve the problem and any time I try to add an account the mac.com address is the default.
    All the people who send my family emails are beginning to get upset -- Please Help!

    Hello au:
    Welcome to Apple discussions.
    If I were you, I would look at the Mail preferences closely. I suspect (although I do not know, as I have never seen anything like you describe before) that there is a setting that is causing the problem.
    Barry
    P.S. Not much help, but the problem is new to me.

  • Write error. [Error sending mail message to SMTP server. Return code: [].]:

    Hi ,
    I am getting the below error when scheduling a report which is larger in size in excel format.
    write error. [Error sending mail message to SMTP server. Return code: [].]: [CrystalEnterprise.Smtp]  
    The same error does not come up when sending the same report in XLS format using outlook.
    Can some one confirm if this error is because of the size of the report as I see a different error in XIR2 incase the size the exceeds the email server limit.
    ~Neethi

    Hi,
    this could be
    Maybe you have different limits for service smtp account (which the BO Server should use) and User smtp accounts.
    Thats why you can sent it via outlook and not from the BO Server.
    Regards
    -Seb.

Maybe you are looking for