Can't delete mail from gmail account

I am using Apple mail and it is synced with a gmail. When something from the gmail shows up in my inbox and I delete it, it goes to a folder called all mail. When I delete something from all mail it reappears there ten minutes later. Any suggestions?

You might have better luck asking this in the Mail forum.

Similar Messages

  • How can I delete devices from icloud account?

    How can I delete devices from icloud account?

    Welcome to the Apple community.
    Simply turn off "find my phone" and delete the iCloud account from your device.

  • Retrieve mail from Gmail account with pop3???

    I want to retrieve e-mail from my account on Gmail in my application, but I have a problem. I cant establishe a connection with pop3 server...
    Do you have an example (full) in Java code for retrieving a mail from Gmail account.
    I used the example from JavaMail Api 1,4 Specifications, but I have a problem with the parameters. (protocol null), and I dont know why...
    Help me, please...

    i hv retrived messages from gmail.but i m geting problem at the time ......
    when i m reading mail which hava attachment.........
    it is only showing attachment name...but not shoing the body part....
    this is my programe........
    plz any body help me its very urgent.........
    give me a programe how to find the attachment name with body part........
    //java msgshow -D -T pop3s -H pop.gmail.com -U user -P passwd
    package MailServer;
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.util.Date ;
    public class msgshow
    static String protocol;
    static String host = null;
    static String user = null;
    static String password = null;
    static String mbox = null;
    static String url = null;
    static int port = -1;
    static boolean verbose = false;
    static boolean debug = false;
    static boolean showStructure = false;
    static boolean showMessage = false;
    static boolean showAlert = false;
    static boolean saveAttachments = false;
    static int attnum = 1;
         static Message[] msgs = null;
         static String body = "";
         static String attachment = "";
         static String indentStr = " ";
    static int level = 0;
    static String from = "";
    static String subject = "";
    static Vector v ;
    public Vector v1;
    static Date date;
    public Vector show()
              int msgnum = -1;
              int optind;
              InputStream msgStream = System.in;
              v = new Vector();
    try
              // Get a Properties object
              Properties props = System.getProperties();
              // Get a Session object
              //debug = true;
              Session session = Session.getInstance(props, null);
              //session.setDebug(debug);
              // Get a Store object
              Store store = null;
              protocol = "pop3s";           
              store = session.getStore(protocol);
                   host = "imap.gmail.com";
                   user = "techzain";
                   password = "zain1234";
                   // Connect
              store.connect(host,port, user, password);
                   //System.out.println ("connected");
              // Open the Folder
              Folder folder = store.getDefaultFolder();
                   mbox = "INBOX";
              folder = folder.getFolder(mbox);
                   //System.out.println ("opened inbox");
              // try to open read/write and if that fails try read-only
              try
                        folder.open(Folder.READ_WRITE);
              catch (MessagingException ex)
                        folder.open(Folder.READ_ONLY);
              // Attributes & Flags for all messages ..
                   msgs = folder.getMessages();
                   //System.out.println (msgs.length);
                   for(int x=0;x<1;x++)
                   try
                        //System.out.println ("inside for");
                        Address[] addList=msgs[x].getFrom();
                             if(addList.length>0)
                                  from=((InternetAddress)addList[0]).getAddress();
                             subject=msgs[x].getSubject();
                             //body=(String)msgs[x].getContent();
                        date=msgs[x].getSentDate();
                        //body=(String)msgs[x].getContent();
                             //msgs[x].setFlag(Flags.Flag.SEEN,true);
                             if(msgs[x].isMimeType("multipart/*"))
                                  boolean bbb=msgs[x].isSet(Flags.Flag.SEEN);
                             System.out.println (bbb);
                                  Multipart multipart=(Multipart)msgs[x].getContent();
                                  for(int i=0,n=multipart.getCount();i<n;i++)
                                  {Part part=multipart.getBodyPart(i);
                                       if(i==0)
                                       body=part.getContent().toString();
                                       else
                                       //body=(String)msgs[x].getContent();
                                       attachment=part.getFileName();
                             else
                                  boolean bbb1=msgs[x].isSet(Flags.Flag.SEEN);
                             System.out.println (bbb1);
                                  body=(String)msgs[x].getContent();
                             //System.out.println ("ok");
                             if(attachment==null)
                                  try
                                       v.addElement(x);
                                       v.addElement(from);
                                       v.addElement(date);
                                       v.addElement(subject);
                                       v.addElement(body);
                                       //System.out.println (v.size());
                                  System.out.println("********* mail "+x+" ***********");
                                  System.out.println("From: "+from);
                                  System.out.println("Date: "+date);
                                  System.out.println("Sub: "+subject);
                                  System.out.println("body: "+body);
                                  System.out.println("Attachment: No attachments......");
                                  System.out.println ("*******************************\n\n");
                             catch (Exception ex)
                                  ex.printStackTrace();
                             else
                                  try{
                                  v.addElement(x);
                                  v.addElement(from);
                                  v.addElement(date);
                                  v.addElement(subject);
                                  v.addElement(body);
                                  v.addElement(attachment);
                                  System.out.println("********* mail "+x+" ***********");
                                  System.out.println("From: "+from);
                                  System.out.println("Date: "+date);
                                  System.out.println("Sub: "+subject);
                                  System.out.println("body: "+body);
                                  System.out.println("Attachment: "+attachment.toString());
                                  System.out.println ("*******************************\n\n");
                             catch(Exception ex1)
                                  ex1.printStackTrace();
                             //     System.out.println (v.size());
                   catch (Exception ex)
                        ex.printStackTrace();
              catch(Exception e)
                   e.printStackTrace();          
              System.out.println (v.size());
              return v;
         public static void main(String argv[])
         new msgshow().show();
              Flags flags = m.getFlags();
              StringBuffer sb = new StringBuffer();
              Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
              String s = "";
              for (int i = 0; i < sf.length; i++)
                   if (sf[i] == Flags.Flag.SEEN)
                        s = "\\Seen";
                        System.out.println ("Seen Message");
    */

  • How can I move mail from Gmail to another account?

    Mail.app in Mavericks is incompatible with Gmail. I use Gmail. I have about 2GB of mail, most of it in a few dozen archive folders, stored on Gmail, and (I think) duplicated locally on my Mac Mini.
    I think my best recourse is to switch to an email service provider that conforms to the IMAP standard (which Gmail does not). Assuming I find one, I will have both accounts, Gmail and the new one, in Mail.app. How can I move the mail from Gmail to the other account?
    In Mail.app in Mavericks, All Mail must be marked to show as a folder, and when I move a message from a folder in Gmail it will still be in the All Mail folder.
    When all folders are empty, including the Inbox, can I be sure that every message has been moved to the new account, even though every message is still in the All Mail folder?

    Mail.app in Mavericks is incompatible with Gmail. I use Gmail. I have about 2GB of mail, most of it in a few dozen archive folders, stored on Gmail, and (I think) duplicated locally on my Mac Mini.
    --> mine's working fine. I know there are issues, but it should work
    I think my best recourse is to switch to an email service provider that conforms to the IMAP standard (which Gmail does not).
    --> yes, it would be nice if they adhered to standards.  That said, mine works great.  So far.
    Assuming I find one, I will have both accounts, Gmail and the new one, in Mail.app. How can I move the mail from Gmail to the other account?
    --> If all you want to do is keep your history, make a local folder on your mac and drag all the mail messages there (both se4nt and incoming).  I am not sure what will happen if you later drag those into the new Xmail account
    When all folders are empty, including the Inbox, can I be sure that every message has been moved to the new account, even though every message is still in the All Mail folder?
    --> Dont look in "all mail". Open your inbox and look at each individual inbox.
    Good luck,. But first, try to fix your account.
    Grant

  • Mail not receiving incoming mail from gmail account

    I have an imac with 10.5 that has suddenly stopped accepting email in one of my gmail accounts, but still gets it from another. I synched my imac with my ibook earlier today. The ibook has the same problem accepts mail from the account that the imac doesn't etc.
    Any help solving this problem would be greatly appreciated.
    dc

    Hi,
    Did you select “Directory Management Service” option, if so, please make sure you configure the Central Administration application pool identity account to have the Create, delete, and manage user accounts right to the container that you specify in Active Directory.
    Did you install Exchange server 2003 in your MOSS environment? If so, you should add an SMTP connector in Exchange Server, if you don’t know how to do that, you can post your issue into the following forum:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdeploy/threads
    Also, please check whether your configuration meet the following requirements, If not, correct them and check the effect.
    ·         The application pool account for Central Administration, the logon account for the Windows SharePoint Services Timer service, and the application pool accounts for your Web applications should have the correct permissions to the e-mail drop folder.
    ·         The domain controller running Active Directory has a Mail Exchanger (MX) entry in DNS Manager for the mail server that you plan to use for incoming e-mail.
    For more information about how to configure incoming e-mail settings, please refer to the following article:
    Configure incoming e-mail settings
    http://technet.microsoft.com/en-us/library/cc262947.aspx
    Introduction to incoming e-mail
    http://office.microsoft.com/en-us/sharepointtechnology/HA100823061033.aspx
    Demo: Configure a SharePoint Server 2007 site to receive e-mail
    http://office.microsoft.com/en-us/sharepointserver/HA102047921033.aspx?pid=CH101788401033
    Enable and configure e-mail support for a list or library
    http://office.microsoft.com/en-us/sharepointtechnology/HA100823071033.aspx?pid=CH101215271033
    Rock  Wang 
    Rock Wang– MSFT

  • Batch deleting mail from an account

    I'm frustrated when I get a few days of mail from my account on my iPhone and I have to mark each individual piece of e-mail one by one to set them up for deletion. Am I missing something? Is there a way to click on "Edit" in mail and then tell your phone you want to mark every e-mail for deletion? If I could do that, and then simply uncheck the few that I might want to keep around, it would be wonderful. This is such a simple thing that I would think the Mail program on the phone would have this feature. Perhaps I'm just missing how to do it.
    There is a way to mark all your e-mails, but that's to flag them, not delete them.
    Can anyone help?
    Thanks.
    Jeff Brody
    Silverdale, WA

    It wouldn't be easy to delete by accident if you had to affirm your choice through a dialog box. That just seems like something that should be part of the software.
    Is there any way to request that something like this be added to the software? Is there a place in the support community where we can request such features?
    Jeff

  • Why is the Mail app deleting mail from my account?

    Hi. I have used the mail app before and when i used it (i have hotmail) i connected it and all, but it started to delete mail from my hotmail account from the mail app. I have the newset software and i heard that a new mail app came. Is this fixed? I do not want to lose any emails from my hotmail account.
    Thanks in advance!
    -RahulRana

    My primary email account is with my ISP. Through their webpage access to my account, I have it set to forward all mail (without deleting it) to my MobileMe account. I have Mail set to acess my MobileMe account only. This allows me to get all my mail without any of it actually leaving the ISP's mailbox.

  • How can I delete mail from my iPad

    How can I prevent 'mail' from my MacPro Mail program from being exported to, and imported by my iPad?

    Huh??  The mail application on your iPad is a mirror image of the mail server on your Mac.  If you don't open a message on your Mac, it will be on your iPad unopened.  If you open it on your Mac, it will appear as opened on you iPad and vice-ersa.  If you delete it on your Mac, it will delete from your iPad and vice-versa.  If this is not how you want your mail to work, I would recommend removing the mailbox from your iPad.  Maybe I'm missing what you're trying to accomplish?

  • Can't Send Emails From Gmail account on iPhone

    Everytime I try to send an email from my gmail account on my phone it says "The connection to the outgoing server "smtp.gmail.com" failed. Additional Outgoing Mail Servers can be configired in Settings>Mail,Contacts,Calendars."

    Can you try to set up your email account again? Delete it from Genereal > Mail, Contacts,... > click on your Gmail > Delete Account and set it up from start.
    http://iphone-and-i.blogspot.com/2012/01/how-to-set-up-email-account-on-iphone.h tml

  • Can you move mail from one account to another?

    I Use Bellsouth as my ISP. As other Posters have noted they are one of the ISPs that won't accept outgoing mail when you are on the Edge Network (even more frustrating since they are owned by AT&T!). When I go out, I have to change my outgoing mail server to cwmx.com which allows me to send messages and reply to e-mails over the Edge network or random Wi-Fis I pick up.
    However, cwmx.com doesn't work over my home network...I have to reinsert mail.bellsouth.net:25 in the outgoing server. It is a real pain.
    So, I also have a G-mail account. I thought if while I was out, and I went to iPhone/settings/mail/default account, I could select G-mail as the default and I could respond to e-mails that came in on my Bellsouth account via G-mail. Not so fast, Kemosabe!
    So, does anyone know a way to move an incoming message from one email account to another on the iPhone so you can reply using a different account?
    Just as an anecdotal observation, seems like Apple's iPhone partner, AT&T and all of it's children could give less than two hoots about Apple, Safari, etc. They seem pretty stuck in the PC world.

    Formally I always used my ISP's email account as my primary account and when moving or if deciding to change ISPs (I moved twice within a two year period of time), this required changing my email address so I switched my primary email account to a .Mac account so my ISP doesn't matter. It has an authenticated SMTP server so I can send messages with my account regardless which ISP I'm using for my internet access.
    A Gmail account would provide the same for you, is free and can be accessed as a POP account or IMAP account with any email client on your computer and with the iPhone's email client. An IMAP account would also provide for keeping all server stored mailboxes synchronized between both email clients used and the ability to save Sent messages on the server with both so sending a message with the iPhone's email client will be available in the account's Sent mailbox with the email client used on your computer automatically and vice-versa. You can also create additional server stored mailboxes with the email client used on your computer for storing received or sent messages by by category and these additional server stored mailboxes will be available with the iPhone's email client automatically.
    This is not possible with a POP account and BellSouth provides POP account access only.
    I understand it is a pain to change your email address but with the combined benefits of a Gmail account which is free and has a good spam filter on the server, I think you should give this some serious consideration.

  • E-Mail won't send my mail from GMail account

    My e-mail keeps on telling me that it can't send e-mails from my GMail account and it's the primary account I use for sending e-mails. Please, tell me what do i have to do in order to be able to send e-mails from my Maill app on my iMac?
    photo: http://cl.ly/image/2j1s0h2d1H18

    The error message says that you don't have an outgoing mail server selected. Go to Mail > Preferences > Accounts and select the gmail account in the left hand panel. Next go to "Outgoing Mail Server" :
    It should read smtp.gmail.com if you are using pop. If it is blank click on it and it should display whatever outgoing servers you have configured. If the only option you have is to "Edit SMTP Server List" then you need to enter the information as shown below.
    These are the standard settings for gmail pop:
    You will also need to set password authentication on your outgoing (SMTP) mail as shown below:

  • Z10 Can Receive E-mails from POP Account But Cannot Send/Reply

    I am getting seriously frustrated with the inability to send e-mail from this Z10 (bought on 3/28) through my POP account!
    I have been able to set up and successfully send through a personal Gmail account but not my "work" POP account.  Everything I have read in forums and discussed with my IP and Verizon Wireless points to a bug in the BB10 software.  In BB7, even a POP account could be set up very simply and reliably.  That was the beauty of BB - simple and reliable e-mail.
    I am getting nowhere trying to find a fix or workaround.  I reeeeeally wanted to believe that BB was back and that this would be a good phone for me, a BB fan (my third BB btw), but am just a day or two away from giving up and returning the thing.  What good is a BlackBerry if you can't send e-mails????  Please help!
    BlackBerry Help - what is the fix???!!!!  I NEED IT TODAY!!!!!!!
    Solved!
    Go to Solution.

    I have a similar problem. I have three email accounts and two work perfectly (a hosted server and a comcast). However, my Optonline email will not send out attachments or HTML when hitting Reply or Forward. The receiver sees the basic text response and the following (below). Optonline uses port 587 and i think POP, no SSL Optonline, BB and ATT are all looking at it, but no solution yet.
    =p style="font-size: =itial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 5); text-align: initial; background-color: rgb(255, 255, 255);">Sent from= BlackBerry Z10
    =table width="100%" style="b�kground-color:white;border-spacing:0px;"> <td colspan="2" st= e="fon

  • Deleting mail from gMail

    I have just moved a large IMAP a/c to Google, mainly so that I can have the same sent mail on both my iMac and iBook.
    However I now find that a lot of my new mail (both sent and received) is at least duplicated - and not just in the All mail folder.
    No matter how many times I delete - or drag to trash and empty both the gMail and On My Mac - they still seem to come back.
    How do I get rid of mail permanently? Can't find anything on Google's help pages.
    Cheers, Colin

    Seems to have done the trick - overnight Spam was in a folder called Bin in Mail.
    Excellent. Keep in mind there will be some messages that are spam that make it past the Gmail filters, so nothing is perfect.
    Can I delete [or in some way unsubscribe from Bin?
    I'm not sure, as I don't really use IMAP. I would have guess that there is, but I'm unsure of the exact method or process. But if the filter you created to put delete spam before it reaches your Inbox works, then deleting it in Mail should also synchronize that when you next access Gmail, so it won't keep coming back.
    Google does have an entire section of help devoted to Gmail, and if you haven't read it or looked at it, you really should. They also have a discussion forum where you can post questions. The link is http://mail.google.com/support/
    Mulder

  • Deleting Mail from AOL Account from my iphone

    I have been having trouble deleting mail form my email accounts. The only account that as been giving trouble is my aol account. I have other email accounts with other carriers and I have no problem with them. If anyone can help me that would be great.

    Simple little fix for this, should get you sorted out, just has a lot of taps to it!
    Tap as follows :
    Settings
    Mail,Contacts, Calendars
    AOL Account
    Advanced
    Deleted mailbox
    From there, I assume it has a mailbox checked. Check any other mailbox, then tap it back to the original box and exit out. You should now be able to delete mail again in your account. Enjoy!

  • Can't delete messages from Gmail mailbox

    I use Apple Mail with Gmail.
    When I delete a message from that mailbox, it disappears, but if switch to another mailbox and come back, it again there.
    And actually there is no trash icon.
    iCloud mailbox works good.

    In your Gmail settings go to labels, and check that the Trash is shown in Imap box is ticked.
    If you do this, you will see a Trash folder in Mail, and you need to use that to trash an email.

Maybe you are looking for